diff --git a/CMakeLists.txt b/CMakeLists.txt index 6a7e14c..7577443 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -114,9 +114,9 @@ endif() # Links the target exe against the libraries target_link_libraries(${PROJECT_NAME} PUBLIC dbt-rise-tgc) if(TARGET Boost::program_options) - target_link_libraries(${PROJECT_NAME} PUBLIC Boost::program_options Boost::thread) + target_link_libraries(${PROJECT_NAME} PUBLIC Boost::program_options) else() - target_link_libraries(${PROJECT_NAME} PUBLIC ${BOOST_program_options_LIBRARY} ${BOOST_thread_LIBRARY}) + target_link_libraries(${PROJECT_NAME} PUBLIC ${BOOST_program_options_LIBRARY}) endif() target_link_libraries(${PROJECT_NAME} PUBLIC ${CMAKE_DL_LIBS}) if (Tcmalloc_FOUND)