diff options
author | Saleem Abdulrasool <compnerd@compnerd.org> | 2019-05-21 15:34:00 (GMT) |
---|---|---|
committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2019-05-21 15:38:23 (GMT) |
commit | 7e636fd8e0f10c8e0ba5eea529f4fedffd899ecf (patch) | |
tree | 358b0cad0c58f6bb9180baf661c54e944c4c111a /Modules/CMakeSwiftInformation.cmake | |
parent | 0fbf936b4630ca9db0d492d8c7e583f45d959b45 (diff) | |
download | CMake-7e636fd8e0f10c8e0ba5eea529f4fedffd899ecf.zip CMake-7e636fd8e0f10c8e0ba5eea529f4fedffd899ecf.tar.gz CMake-7e636fd8e0f10c8e0ba5eea529f4fedffd899ecf.tar.bz2 |
Modules: add `CMAKE_Swift_FRAMEWORK_SEARCH_FLAG`
Swift supports frameworks and uses them across all OSes. They are added
using the `-F` flag. There must be a space following the flag and
before the parameter.
Diffstat (limited to 'Modules/CMakeSwiftInformation.cmake')
-rw-r--r-- | Modules/CMakeSwiftInformation.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/CMakeSwiftInformation.cmake b/Modules/CMakeSwiftInformation.cmake index aa5f260..15b0a1a 100644 --- a/Modules/CMakeSwiftInformation.cmake +++ b/Modules/CMakeSwiftInformation.cmake @@ -21,6 +21,7 @@ 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_FRAMEWORK_SEARCH_FLAG "-F ") set(CMAKE_Swift_FLAGS_DEBUG_INIT "-g") set(CMAKE_Swift_FLAGS_RELEASE_INIT "-O") |