mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-03 04:49:08 +08:00
14 lines
534 B
Diff
14 lines
534 B
Diff
|
diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt
|
||
|
index 148fb3f2..c9c4d96c 100644
|
||
|
--- a/src/core/CMakeLists.txt
|
||
|
+++ b/src/core/CMakeLists.txt
|
||
|
@@ -43,7 +43,7 @@ endif()
|
||
|
|
||
|
# Support the OMG DDS Security within ddsc adds quite a bit of code.
|
||
|
if(ENABLE_SECURITY)
|
||
|
- target_link_libraries(ddsc PRIVATE security_core)
|
||
|
+ target_link_libraries(ddsc PRIVATE $<BUILD_INTERFACE:security_core>)
|
||
|
target_include_directories(
|
||
|
ddsc PUBLIC
|
||
|
$<BUILD_INTERFACE:$<TARGET_PROPERTY:security_api,INTERFACE_INCLUDE_DIRECTORIES>>)
|