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.
This commit is contained in:
parent
0fbf936b46
commit
7e636fd8e0
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user