diff options
author | Brad King <brad.king@kitware.com> | 2019-05-29 13:15:28 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2019-05-29 13:16:17 (GMT) |
commit | f093ac36c0e389447af210d1f596baa5207bd6b3 (patch) | |
tree | 471c462ce19be65c2d33c3c4fdfd2ad5d3cf788d /Modules/CMakeSwiftInformation.cmake | |
parent | 0f9d7dc3ba2f6a82d6d0d54e7cc79899576981b8 (diff) | |
parent | abea06efdfebbf5becfde40cb8ecc8427054edf1 (diff) | |
download | CMake-f093ac36c0e389447af210d1f596baa5207bd6b3.zip CMake-f093ac36c0e389447af210d1f596baa5207bd6b3.tar.gz CMake-f093ac36c0e389447af210d1f596baa5207bd6b3.tar.bz2 |
Merge topic 'linker-preference'
abea06efdf Modules: setup `CMAKE_Swift_LINKER_PREFERENCE`
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3373
Diffstat (limited to 'Modules/CMakeSwiftInformation.cmake')
-rw-r--r-- | Modules/CMakeSwiftInformation.cmake | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/CMakeSwiftInformation.cmake b/Modules/CMakeSwiftInformation.cmake index 1477e8a..69e1519 100644 --- a/Modules/CMakeSwiftInformation.cmake +++ b/Modules/CMakeSwiftInformation.cmake @@ -25,6 +25,9 @@ set(CMAKE_Swift_COMPILER_ARG1 -frontend) set(CMAKE_Swift_FRAMEWORK_SEARCH_FLAG "-F ") set(CMAKE_Swift_RESPONSE_FILE_LINK_FLAG @) +set(CMAKE_Swift_LINKER_PREFERENCE 50) +set(CMAKE_Swift_LINKER_PREFERENCE_PROPAGATES 1) + # NOTE(compnerd) use the short form for convenience and ease of search. They # are treated equivalent to their long form names as well as custom Swift # specific names. |