diff options
author | Saleem Abdulrasool <compnerd@compnerd.org> | 2019-05-21 15:32:33 (GMT) |
---|---|---|
committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2019-05-21 15:38:23 (GMT) |
commit | 0fbf936b4630ca9db0d492d8c7e583f45d959b45 (patch) | |
tree | d7f3766c2f50d37755b9945e3b1ebc06c1edb6eb /Modules | |
parent | 0bf53483295a4b7de358e8b85ad44866d89633c5 (diff) | |
download | CMake-0fbf936b4630ca9db0d492d8c7e583f45d959b45.zip CMake-0fbf936b4630ca9db0d492d8c7e583f45d959b45.tar.gz CMake-0fbf936b4630ca9db0d492d8c7e583f45d959b45.tar.bz2 |
Modules: remove `CMAKE_INCLUDE_FLAG_SEP_Swift`
The include flag specifier should be specified multiply. The separator
was being misused for adding a space after the `-I` flag. Correct this
to get multiple include paths correct.
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/CMakeSwiftInformation.cmake | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Modules/CMakeSwiftInformation.cmake b/Modules/CMakeSwiftInformation.cmake index 64e7f99..aa5f260 100644 --- a/Modules/CMakeSwiftInformation.cmake +++ b/Modules/CMakeSwiftInformation.cmake @@ -17,8 +17,7 @@ if(CMAKE_Swift_COMPILER_ID) include(Platform/${CMAKE_EFFECTIVE_SYSTEM_NAME}-${CMAKE_Swift_COMPILER_ID}-Swift OPTIONAL) endif() -set(CMAKE_INCLUDE_FLAG_Swift "-I") -set(CMAKE_INCLUDE_FLAG_SEP_Swift " ") +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) |