[libcxx-commits] [libcxx] d00e035 - [libc++] Make sure we install the modulemap file with install-cxx-headers
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Jun 10 12:15:42 PDT 2022
Author: Louis Dionne
Date: 2022-06-10T15:15:35-04:00
New Revision: d00e035a4270ba846d7a147812b69ce4d2744b85
URL: https://github.com/llvm/llvm-project/commit/d00e035a4270ba846d7a147812b69ce4d2744b85
DIFF: https://github.com/llvm/llvm-project/commit/d00e035a4270ba846d7a147812b69ce4d2744b85.diff
LOG: [libc++] Make sure we install the modulemap file with install-cxx-headers
Added:
Modified:
libcxx/include/CMakeLists.txt
Removed:
################################################################################
diff --git a/libcxx/include/CMakeLists.txt b/libcxx/include/CMakeLists.txt
index 160ebeb693d6a..4d35f8659bef8 100644
--- a/libcxx/include/CMakeLists.txt
+++ b/libcxx/include/CMakeLists.txt
@@ -733,8 +733,9 @@ if (LIBCXX_INSTALL_HEADERS)
)
endforeach()
- # Install the generated __config_site.
- install(FILES ${LIBCXX_GENERATED_INCLUDE_TARGET_DIR}/__config_site
+ # Install the generated __config_site and the generated modulemap file.
+ install(FILES "${LIBCXX_GENERATED_INCLUDE_TARGET_DIR}/__config_site"
+ "${LIBCXX_GENERATED_INCLUDE_DIR}/module.modulemap"
DESTINATION "${LIBCXX_INSTALL_INCLUDE_TARGET_DIR}"
PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ
COMPONENT cxx-headers)
More information about the libcxx-commits
mailing list