build: Implicitly link against Boost.System
This fixes a compilation error on Debian using GCC.
This commit is contained in:
parent
139b5656e2
commit
2542dc13e0
1 changed files with 1 additions and 1 deletions
|
@ -535,7 +535,7 @@ if(BUILD_TOOLS)
|
|||
|
||||
add_executable(reone-tools ${TOOLS_HEADERS} ${TOOLS_SOURCES})
|
||||
set_target_properties(reone-tools PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
|
||||
target_link_libraries(reone-tools PRIVATE libresource libsystem ${Boost_FILESYSTEM_LIBRARY} ${Boost_PROGRAM_OPTIONS_LIBRARY})
|
||||
target_link_libraries(reone-tools PRIVATE libresource libsystem ${Boost_FILESYSTEM_LIBRARY} ${Boost_PROGRAM_OPTIONS_LIBRARY} ${Boost_SYSTEM_LIBRARY})
|
||||
endif()
|
||||
|
||||
## END reone-tools executable
|
||||
|
|
Loading…
Reference in a new issue