summaryrefslogtreecommitdiffstats
path: root/Modules/Platform/Windows-Apple-Swift.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/Platform/Windows-Apple-Swift.cmake')
-rw-r--r--Modules/Platform/Windows-Apple-Swift.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/Platform/Windows-Apple-Swift.cmake b/Modules/Platform/Windows-Apple-Swift.cmake
index 1177755..3f754fd 100644
--- a/Modules/Platform/Windows-Apple-Swift.cmake
+++ b/Modules/Platform/Windows-Apple-Swift.cmake
@@ -1 +1,3 @@
set(CMAKE_Swift_IMPLIB_LINKER_FLAGS "-Xlinker -implib:<TARGET_IMPLIB>")
+set(CMAKE_Swift_FLAGS_DEBUG_LINKER_FLAGS "-Xlinker -debug")
+set(CMAKE_Swift_FLAGS_RELWITHDEBINFO_LINKER_FLAGS "-Xlinker -debug")