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 081798c commit 73b6d04Copy full SHA for 73b6d04
Sources/_FoundationCShims/CMakeLists.txt
@@ -19,8 +19,10 @@ add_library(_FoundationCShims STATIC
19
20
target_include_directories(_FoundationCShims PUBLIC include)
21
22
-target_compile_options(_FoundationCShims INTERFACE
23
- "$<$<COMPILE_LANGUAGE:Swift>:SHELL:-Xcc -fmodule-map-file=${CMAKE_CURRENT_SOURCE_DIR}/include/module.modulemap>")
+if(CMAKE_SYSTEM_NAME STREQUAL "Windows" AND NOT BUILT_FIRST_SDK)
+ target_compile_options(_FoundationCShims INTERFACE
24
+ "$<$<COMPILE_LANGUAGE:Swift>:SHELL:-Xcc -fmodule-map-file=${CMAKE_CURRENT_SOURCE_DIR}/include/module.modulemap>")
25
+endif()
26
27
set_property(GLOBAL APPEND PROPERTY SWIFT_FOUNDATION_EXPORTS _FoundationCShims)
28
0 commit comments