From 861e2e624246e786f33aef652ac72199b0ce8319 Mon Sep 17 00:00:00 2001 From: Alex Hoppen Date: Wed, 23 Aug 2023 15:45:25 -0700 Subject: [PATCH] Install `.swiftdoc` files into the toolchain rdar://114342668 --- cmake/modules/AddSwiftHostLibrary.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/modules/AddSwiftHostLibrary.cmake b/cmake/modules/AddSwiftHostLibrary.cmake index beca0d2511e..9540e9168bc 100644 --- a/cmake/modules/AddSwiftHostLibrary.cmake +++ b/cmake/modules/AddSwiftHostLibrary.cmake @@ -89,6 +89,6 @@ function(add_swift_host_library name) install( DIRECTORY ${module_base} DESTINATION lib/${SWIFT_HOST_LIBRARIES_SUBDIRECTORY} - FILES_MATCHING PATTERN "*.swiftinterface" + FILES_MATCHING REGEX ".*\.(swiftdoc|swiftinterface)" ) endfunction()