summaryrefslogtreecommitdiffstats
path: root/Modules/Platform/Apple-Apple-Swift.cmake
blob: 255411ead6a1f4a60c8db380fca97e12aa4c1995 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
set(CMAKE_Swift_SYSROOT_FLAG "-sdk")


# Defines host link features for frameworks
set(CMAKE_Swift_LINK_USING_FRAMEWORK "LINKER:-framework,<LIBRARY>")
set(CMAKE_Swift_LINK_USING_FRAMEWORK_SUPPORTED TRUE)

set(CMAKE_Swift_LINK_USING_NEEDED_FRAMEWORK "LINKER:-needed_framework,<LIBRARY>")
set(CMAKE_Swift_LINK_USING_NEEDED_FRAMEWORK_SUPPORTED TRUE)

set(CMAKE_Swift_LINK_USING_REEXPORT_FRAMEWORK "LINKER:-reexport_framework,<LIBRARY>")
set(CMAKE_Swift_LINK_USING_REEXPORT_FRAMEWORK_SUPPORTED TRUE)

set(CMAKE_Swift_LINK_USING_WEAK_FRAMEWORK "LINKER:-weak_framework,<LIBRARY>")
set(CMAKE_Swift_LINK_USING_WEAK_FRAMEWORK_SUPPORTED TRUE)