summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-11-13 14:37:31 (GMT)
committerKitware Robot <kwrobot@kitware.com>2019-11-13 14:37:43 (GMT)
commite42c018642b953cc6dbfe4e9ccb4639e7f1e6f1a (patch)
tree3e0f15381e4096e443727660b12fe14087c65f34 /Modules
parente49d85ae4b5397ec33bcfc6bc7984fedd7dcff11 (diff)
parenta27a1c7e881f9381c38a7f17fa29fc537a274c9a (diff)
downloadCMake-e42c018642b953cc6dbfe4e9ccb4639e7f1e6f1a.zip
CMake-e42c018642b953cc6dbfe4e9ccb4639e7f1e6f1a.tar.gz
CMake-e42c018642b953cc6dbfe4e9ccb4639e7f1e6f1a.tar.bz2
Merge topic 'swift-rpath-separator'
a27a1c7e88 Swift: Allow build and installed RPATHs to differ Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4037
Diffstat (limited to 'Modules')
-rw-r--r--Modules/CMakeSwiftInformation.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/CMakeSwiftInformation.cmake b/Modules/CMakeSwiftInformation.cmake
index 1f0e8f3..f2bf232 100644
--- a/Modules/CMakeSwiftInformation.cmake
+++ b/Modules/CMakeSwiftInformation.cmake
@@ -26,6 +26,7 @@ endif()
if(NOT CMAKE_SYSTEM_NAME STREQUAL Windows AND NOT CMAKE_SYSTEM_NAME STREQUAL Darwin)
set(CMAKE_SHARED_LIBRARY_RUNTIME_Swift_FLAG "-Xlinker -rpath -Xlinker ")
+ set(CMAKE_SHARED_LIBRARY_RUNTIME_Swift_FLAG_SEP ":")
endif()
set(CMAKE_Swift_COMPILE_OPTIONS_TARGET "-target ")