From 7e636fd8e0f10c8e0ba5eea529f4fedffd899ecf Mon Sep 17 00:00:00 2001 From: Saleem Abdulrasool Date: Tue, 21 May 2019 08:34:00 -0700 Subject: 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. --- Modules/CMakeSwiftInformation.cmake | 1 + 1 file changed, 1 insertion(+) 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") -- cgit v0.12