We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e505ccf commit 90c4f5cCopy full SHA for 90c4f5c
CMakeLists.txt
@@ -42,7 +42,7 @@ if(NOT SWIFT_SYSTEM_NAME)
42
endif()
43
44
# Don't enable WMO on Windows due to linker failures
45
-if(NOT CMAKE_SYSTEM_NAME STREQUAL Windows)
+if(NOT CMAKE_HOST_SYSTEM_NAME STREQUAL Windows)
46
# Enable whole module optimization for release builds & incremental for debug builds
47
if(POLICY CMP0157)
48
set(CMAKE_Swift_COMPILATION_MODE "$<IF:$<CONFIG:Release>,wholemodule,incremental>")
0 commit comments