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 e1223a0 commit f48c399Copy full SHA for f48c399
Sources/_FoundationCShims/CMakeLists.txt
@@ -19,6 +19,9 @@ 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>")
24
+
25
set_property(GLOBAL APPEND PROPERTY SWIFT_FOUNDATION_EXPORTS _FoundationCShims)
26
27
if(BUILD_SHARED_LIBS)
0 commit comments