diff options
author | Brad King <brad.king@kitware.com> | 2019-05-29 13:15:40 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2019-05-29 13:17:44 (GMT) |
commit | a1c291e0ac2cfe62e394842192b12e9e092c5a0b (patch) | |
tree | 1658cd043394f62274f146b6c08dc5d7d135fe79 /Modules/CMakeSwiftInformation.cmake | |
parent | f093ac36c0e389447af210d1f596baa5207bd6b3 (diff) | |
parent | 6baa80d1e31b26f06c68afddd096d3d8c5961718 (diff) | |
download | CMake-a1c291e0ac2cfe62e394842192b12e9e092c5a0b.zip CMake-a1c291e0ac2cfe62e394842192b12e9e092c5a0b.tar.gz CMake-a1c291e0ac2cfe62e394842192b12e9e092c5a0b.tar.bz2 |
Merge topic 'swift-wrapper'
6baa80d1e3 Modules: correct linker wrapper flag for Swift
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3390
Diffstat (limited to 'Modules/CMakeSwiftInformation.cmake')
-rw-r--r-- | Modules/CMakeSwiftInformation.cmake | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Modules/CMakeSwiftInformation.cmake b/Modules/CMakeSwiftInformation.cmake index 69e1519..21f18d4 100644 --- a/Modules/CMakeSwiftInformation.cmake +++ b/Modules/CMakeSwiftInformation.cmake @@ -19,10 +19,11 @@ endif() set(CMAKE_INCLUDE_FLAG_Swift "-I ") -set(CMAKE_Swift_DEFINE_FLAG -D) set(CMAKE_Swift_COMPILE_OPTIONS_TARGET "-target ") set(CMAKE_Swift_COMPILER_ARG1 -frontend) +set(CMAKE_Swift_DEFINE_FLAG -D) set(CMAKE_Swift_FRAMEWORK_SEARCH_FLAG "-F ") +set(CMAKE_Swift_LINKER_WRAPPER_FLAG "-Xlinker" " ") set(CMAKE_Swift_RESPONSE_FILE_LINK_FLAG @) set(CMAKE_Swift_LINKER_PREFERENCE 50) |