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 | 9c9bbedd31bccd77beac6851b81831469b176d4d (patch) | |
tree | dcca1d670d7f345f83ba8e571c89a32e9d115894 /Modules | |
parent | 3bc808fc3315d459a7d029645a9e892b7abcaa9a (diff) | |
parent | ff6c336127973d09ac7d20f846854bdebf384201 (diff) | |
download | CMake-9c9bbedd31bccd77beac6851b81831469b176d4d.zip CMake-9c9bbedd31bccd77beac6851b81831469b176d4d.tar.gz CMake-9c9bbedd31bccd77beac6851b81831469b176d4d.tar.bz2 |
Merge topic 'swift-rpath-darwin'
ff6c336127 Swift: support `-rpath` on Darwin
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4059
Diffstat (limited to 'Modules')
-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() |