Merge topic 'swift-rpath-separator'

a27a1c7e88 Swift: Allow build and installed RPATHs to differ

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4037
This commit is contained in:
Brad King
2019-11-13 14:37:31 +00:00
committed by Kitware Robot

View File

@@ -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 ")