Skip to content

Commit a482c9c

Browse files
authored
[build] Remove FILES_MATCHING from SwiftShims/CMakeLists.txt (#34241)
This is not an ideal solution, as we are likely installing more that we should with those instructions -- but it would unblock quickly the Source Compatibility suite. Addresses rdar://70040046
1 parent a665ba6 commit a482c9c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

stdlib/public/SwiftShims/CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -197,13 +197,13 @@ endif()
197197
swift_install_in_component(DIRECTORY "${clang_headers_location}/"
198198
DESTINATION "lib/swift/clang"
199199
COMPONENT clang-builtin-headers
200-
FILES_MATCHING PATTERN "*.h")
200+
PATTERN "*.h")
201201

202202
if(SWIFT_BUILD_STATIC_STDLIB)
203203
swift_install_in_component(DIRECTORY "${clang_headers_location}/"
204204
DESTINATION "lib/swift_static/clang"
205205
COMPONENT clang-builtin-headers
206-
FILES_MATCHING PATTERN "*.h")
206+
PATTERN "*.h")
207207
endif()
208208

209209

@@ -227,4 +227,4 @@ file(TO_CMAKE_PATH "${LLVM_LIBRARY_OUTPUT_INTDIR}"
227227
swift_install_in_component(DIRECTORY "${_SWIFT_SHIMS_PATH_TO_CLANG_BUILD}/lib/clang"
228228
DESTINATION "lib"
229229
COMPONENT clang-builtin-headers-in-clang-resource-dir
230-
FILES_MATCHING PATTERN "*.h")
230+
PATTERN "*.h")

0 commit comments

Comments
 (0)