mirror of
https://github.com/reactos/CMake.git
synced 2025-02-23 13:32:49 +00:00
Merge topic 'swift-rpath'
1e05f89f4b Swift: support `BUILD_RPATH` properties Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3965
This commit is contained in:
commit
abd223cf05
@ -24,6 +24,10 @@ 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)
|
||||
set(CMAKE_SHARED_LIBRARY_RUNTIME_Swift_FLAG "-Xlinker -rpath -Xlinker ")
|
||||
endif()
|
||||
|
||||
set(CMAKE_Swift_COMPILE_OPTIONS_TARGET "-target ")
|
||||
set(CMAKE_Swift_COMPILE_OPTIONS_EXTERNAL_TOOLCHAIN "-tools-directory ")
|
||||
# NOTE(compnerd) the `-sdk` support is not yet ready in the compiler; when that
|
||||
|
Loading…
x
Reference in New Issue
Block a user