From 2542dc13e0f89337a9cd85d43c1d4a0fa25971f1 Mon Sep 17 00:00:00 2001 From: Vsevolod Kremianskii Date: Thu, 29 Oct 2020 09:29:27 +0700 Subject: [PATCH] build: Implicitly link against Boost.System This fixes a compilation error on Debian using GCC. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9a0f6e60..8e1b46d7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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