Skip to content

Commit be86293

Browse files
committed
[CMake] Only install .swiftinterface files from the module.
Installing the .swiftmodule files themselves will prevent the .swiftinterface files from being used, and the other files aren't useful for install products.
1 parent 89657f0 commit be86293

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/modules/AddSwiftHostLibrary.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,6 @@ function(add_swift_host_library name)
6262
install(
6363
DIRECTORY ${module_base}
6464
DESTINATION lib/${SWIFT_HOST_LIBRARIES_SUBDIRECTORY}
65-
FILES_MATCHING PATTERN "*.swift*"
65+
FILES_MATCHING PATTERN "*.swiftinterface"
6666
)
6767
endfunction()

0 commit comments

Comments
 (0)