summaryrefslogtreecommitdiffstats
path: root/Modules/Platform
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2019-11-29 22:18:59 (GMT)
committerSaleem Abdulrasool <compnerd@compnerd.org>2019-12-22 02:25:54 (GMT)
commit576c2e7a2d537f95c83a552e722203c5164c6e78 (patch)
treeb6470d69554da722a108cdd22b938c69028edfe2 /Modules/Platform
parent419fd17aa99576cf75ea083eef2e93b80688c37b (diff)
downloadCMake-576c2e7a2d537f95c83a552e722203c5164c6e78.zip
CMake-576c2e7a2d537f95c83a552e722203c5164c6e78.tar.gz
CMake-576c2e7a2d537f95c83a552e722203c5164c6e78.tar.bz2
Swift: move windows handling into platform file (NFC)
This moves the definition of the import library flags for Windows into a platform specific file (much like the Darwin `-sdk` flag). This is in preparation for re-use of the flag to make the flags handling for executables more precise.
Diffstat (limited to 'Modules/Platform')
-rw-r--r--Modules/Platform/Windows-Apple-Swift.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/Platform/Windows-Apple-Swift.cmake b/Modules/Platform/Windows-Apple-Swift.cmake
new file mode 100644
index 0000000..1177755
--- /dev/null
+++ b/Modules/Platform/Windows-Apple-Swift.cmake
@@ -0,0 +1 @@
+set(CMAKE_Swift_IMPLIB_LINKER_FLAGS "-Xlinker -implib:<TARGET_IMPLIB>")