Skip to content

Commit 040e7a7

Browse files
authored
Merge pull request #69557 from rintaro/swiftsyntax-rdar117698556
[CMake] Install '.private.swiftinterface' of swift-syntax libraries
2 parents ea38d57 + cb415cc commit 040e7a7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/CMakeLists.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ if (SWIFT_BUILD_SWIFT_SYNTAX)
5959
# Install Swift module interface files.
6060
foreach(module ${SWIFT_SYNTAX_MODULES})
6161
set(module_dir "${module}.swiftmodule")
62-
set(module_file "${SWIFT_HOST_LIBRARIES_DEST_DIR}/${module_dir}/${SWIFT_HOST_MODULE_TRIPLE}.swiftinterface")
63-
swift_install_in_component(FILES "${module_file}"
62+
set(module_file "${SWIFT_HOST_LIBRARIES_DEST_DIR}/${module_dir}/${SWIFT_HOST_MODULE_TRIPLE}")
63+
swift_install_in_component(FILES "${module_file}.swiftinterface" "${module_file}.private.swiftinterface"
6464
DESTINATION "lib${LLVM_LIBDIR_SUFFIX}/swift/host/${module_dir}"
6565
COMPONENT swift-syntax-lib)
6666
endforeach()

0 commit comments

Comments
 (0)