diff --git a/CDT/CMakeLists.txt b/CDT/CMakeLists.txt index 555fb4e..86be850 100644 --- a/CDT/CMakeLists.txt +++ b/CDT/CMakeLists.txt @@ -155,7 +155,7 @@ target_compile_definitions( ) if(CDT_USE_BOOST) - target_link_libraries(${PROJECT_NAME} INTERFACE Boost::boost) + target_link_libraries(${PROJECT_NAME} ${cdt_scope} Boost::boost) endif()