diff options
author | Brad King <brad.king@kitware.com> | 2019-11-18 18:42:02 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2019-11-18 18:43:11 (GMT) |
commit | 3a87ce6c962d2b5b0661d7b611070adf7077b27b (patch) | |
tree | 98a6ade5b0bcf5e6ea5aea268a4d34b14c745081 /Modules/CMakeSwiftInformation.cmake | |
parent | 4bbd9e9ec4cf234df82f7d25449f3f3a8406979a (diff) | |
parent | ff6c336127973d09ac7d20f846854bdebf384201 (diff) | |
download | CMake-3a87ce6c962d2b5b0661d7b611070adf7077b27b.zip CMake-3a87ce6c962d2b5b0661d7b611070adf7077b27b.tar.gz CMake-3a87ce6c962d2b5b0661d7b611070adf7077b27b.tar.bz2 |
Merge topic 'swift-rpath-darwin' into release-3.16
ff6c336127 Swift: support `-rpath` on Darwin
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4059
Diffstat (limited to 'Modules/CMakeSwiftInformation.cmake')
-rw-r--r-- | Modules/CMakeSwiftInformation.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/CMakeSwiftInformation.cmake b/Modules/CMakeSwiftInformation.cmake index 5489bd7..2c54da0 100644 --- a/Modules/CMakeSwiftInformation.cmake +++ b/Modules/CMakeSwiftInformation.cmake @@ -24,7 +24,7 @@ elseif(NOT CMAKE_SYSTEM_NAME STREQUAL Windows) set(CMAKE_SHARED_LIBRARY_SONAME_Swift_FLAG "-Xlinker -soname -Xlinker ") endif() -if(NOT CMAKE_SYSTEM_NAME STREQUAL Windows AND NOT CMAKE_SYSTEM_NAME STREQUAL Darwin) +if(NOT CMAKE_SYSTEM_NAME STREQUAL Windows) set(CMAKE_SHARED_LIBRARY_RUNTIME_Swift_FLAG "-Xlinker -rpath -Xlinker ") set(CMAKE_SHARED_LIBRARY_RUNTIME_Swift_FLAG_SEP ":") endif() |