diff --git a/CMakeLists.txt b/CMakeLists.txt index 6c98fce..996d6ea 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -69,7 +69,7 @@ SET(Boost_USE_STATIC_LIBS ON) find_package(Boost REQUIRED COMPONENTS program_options filesystem regex) if(Boost_FOUND) target_include_directories(${PROJECT_NAME} PRIVATE ${Boost_INCLUDE_DIRS}) - target_link_libraries(${PROJECT_NAME} ${Boost_PROGRAM_OPTIONS_LIBRARY} ${Boost_FILESYSTEM_LIBRARY}) + target_link_libraries(${PROJECT_NAME} ${Boost_LIBRARIES}) endif()