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.
2 parents 37010f0 + 305c0a0 commit 251dba4Copy full SHA for 251dba4
src/CMakeLists.txt
@@ -124,9 +124,6 @@ if(ENABLE_SWIFT)
124
CFLAGS
125
-fblocks
126
-fmodule-map-file=${PROJECT_SOURCE_DIR}/dispatch/module.modulemap
127
- $<$<PLATFORM_ID:Windows>:-D_MT>
128
- # TODO(compnerd) handle /MT builds
129
- $<$<PLATFORM_ID:Windows>:-D_DLL>
130
DEPENDS
131
module-maps
132
DispatchStubs
@@ -158,6 +155,11 @@ if(ENABLE_SWIFT)
158
155
SWIFT_FLAGS
159
156
-I ${PROJECT_SOURCE_DIR}
160
157
${swift_optimization_flags}
+ $<$<PLATFORM_ID:Windows>:-Xcc>
+ $<$<PLATFORM_ID:Windows>:-D_MT>
+ # TODO(compnerd) handle /MT builds
161
162
+ $<$<PLATFORM_ID:Windows>:-D_DLL>
163
TARGET
164
${CMAKE_C_COMPILER_TARGET})
165
endif()
0 commit comments