File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -909,13 +909,18 @@ if (LIBCXX_INSTALL_HEADERS)
909909 )
910910 endforeach ()
911911
912- # Install the generated __config_site and the generated modulemap file .
912+ # Install the generated __config_site file to the per-target include dir .
913913 install (FILES "${LIBCXX_GENERATED_INCLUDE_TARGET_DIR} /__config_site"
914- "${LIBCXX_GENERATED_INCLUDE_DIR} /module.modulemap"
915914 DESTINATION "${LIBCXX_INSTALL_INCLUDE_TARGET_DIR} "
916915 PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ
917916 COMPONENT cxx-headers)
918917
918+ # Install the generated modulemap file to the generic include dir.
919+ install (FILES "${LIBCXX_GENERATED_INCLUDE_DIR} /module.modulemap"
920+ DESTINATION "${LIBCXX_INSTALL_INCLUDE_DIR} "
921+ PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ
922+ COMPONENT cxx-headers)
923+
919924 if (NOT CMAKE_CONFIGURATION_TYPES )
920925 add_custom_target (install -cxx-headers
921926 DEPENDS cxx-headers
You can’t perform that action at this time.
0 commit comments