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 a07efec + 59c6a46 commit 344f413Copy full SHA for 344f413
Sources/_FoundationCShims/CMakeLists.txt
@@ -20,7 +20,7 @@ add_library(_FoundationCShims STATIC
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>")
+ "$<BUILD_INTERFACE:$<$<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
0 commit comments