vcpkg/ports/cdt/boost-link.patch
2023-04-13 12:37:52 -07:00

14 lines
355 B
Diff

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()