File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
stdlib/public/SwiftShims/swift/shims Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -238,12 +238,12 @@ endif()
238238swift_install_in_component(DIRECTORY "${clang_headers_location} /"
239239 DESTINATION "lib/swift/clang"
240240 COMPONENT clang-builtin-headers
241- PATTERN "*.h " )
241+ REGEX " \. (h|modulemap)$ " )
242242
243243swift_install_in_component(DIRECTORY "${clang_headers_location} /"
244244 DESTINATION "lib/swift_static/clang"
245245 COMPONENT clang-builtin-headers
246- PATTERN "*.h " )
246+ REGEX " \. (h|modulemap)$ " )
247247
248248if (SWIFT_BUILD_RUNTIME_WITH_HOST_COMPILER OR SWIFT_PREBUILT_CLANG)
249249 # This will still link against the Swift-forked clang headers if the Swift
@@ -274,4 +274,4 @@ file(TO_CMAKE_PATH "${LLVM_LIBRARY_OUTPUT_INTDIR}"
274274swift_install_in_component(DIRECTORY "${_SWIFT_SHIMS_PATH_TO_CLANG_LIB_BUILD} /clang"
275275 DESTINATION "lib"
276276 COMPONENT clang-builtin-headers-in-clang-resource -dir
277- PATTERN "*.h " )
277+ REGEX " \. (h|modulemap)$ " )
You can’t perform that action at this time.
0 commit comments