diff options
Diffstat (limited to 'vcpkg/ports/cyclonedds/enable-security.patch')
| -rw-r--r-- | vcpkg/ports/cyclonedds/enable-security.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/vcpkg/ports/cyclonedds/enable-security.patch b/vcpkg/ports/cyclonedds/enable-security.patch new file mode 100644 index 0000000..a414272 --- /dev/null +++ b/vcpkg/ports/cyclonedds/enable-security.patch @@ -0,0 +1,13 @@ +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>>) |