build: Implicitly link against Boost.System

This fixes a compilation error on Debian using GCC.
This commit is contained in:
Vsevolod Kremianskii 2020-10-29 09:29:27 +07:00
parent 139b5656e2
commit 2542dc13e0

View file

@ -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