Skip to content

Commit 4cd46d9

Browse files
committed
cmake: exclude Private dir from installation
1 parent 6ec4fc8 commit 4cd46d9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cmake/modules/SwiftSource.cmake

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,8 @@ function(_compile_swift_files
351351
swift_install_in_component(DIRECTORY "${specific_module_dir}"
352352
DESTINATION "lib${LLVM_LIBDIR_SUFFIX}/swift/${library_subdir}"
353353
COMPONENT "${SWIFTFILE_INSTALL_IN_COMPONENT}"
354-
OPTIONAL)
354+
OPTIONAL
355+
PATTERN "Private" EXCLUDE)
355356
else()
356357
swift_install_in_component(FILES ${module_outputs}
357358
DESTINATION "lib${LLVM_LIBDIR_SUFFIX}/swift/${library_subdir}"

0 commit comments

Comments
 (0)