File tree Expand file tree Collapse file tree 2 files changed +1
-1
lines changed Expand file tree Collapse file tree 2 files changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -176,6 +176,7 @@ add_compile_options(
176176add_link_options ($<$<PLATFORM_ID:Windows>:LINKER:/WX>)
177177
178178add_compile_options (
179+ $<$<COMPILE_LANGUAGE:Swift>:-explicit-module-build >
179180 "$<$<COMPILE_LANGUAGE:Swift>:-nostdlibimport>"
180181 "$<$<COMPILE_LANGUAGE:Swift>:SHELL:-library-level api>"
181182 "$<$<COMPILE_LANGUAGE:Swift>:SHELL:-runtime-compatibility-version none>"
Original file line number Diff line number Diff line change @@ -290,7 +290,6 @@ target_compile_options(swiftCore PRIVATE
290290 "$<$<COMPILE_LANGUAGE:Swift>:SHELL:-enable-experimental-feature AddressableTypes>"
291291 $<$<COMPILE_LANGUAGE:Swift>:-parse-stdlib>
292292 $<$<COMPILE_LANGUAGE:Swift>:-nostdimport>
293- $<$<COMPILE_LANGUAGE:Swift>:-explicit-module-build >
294293 "$<$<COMPILE_LANGUAGE:Swift>:SHELL:-Xfrontend -group-info-path -Xfrontend ${CMAKE_CURRENT_SOURCE_DIR} /GroupInfo.json>"
295294 "$<$<COMPILE_LANGUAGE:Swift>:SHELL:-Xfrontend -disable-objc-attr-requires-foundation-module>"
296295 "$<$<COMPILE_LANGUAGE:Swift>:SHELL:-Xfrontend -require-explicit-availability=ignore>" )
You can’t perform that action at this time.
0 commit comments