aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLouis Dionne <ldionne@apple.com>2020-10-21 12:53:24 -0400
committerLouis Dionne <ldionne@apple.com>2020-10-21 12:54:42 -0400
commitb5aa67446e01bd277727b05710a42e69ac41e74b (patch)
treedc128ff5a92745373946267f3fa337a671699058
parent37c030f81a9fdd7a7e1b6fa5407b277c1ab1afa1 (diff)
downloadllvm-b5aa67446e01bd277727b05710a42e69ac41e74b.zip
llvm-b5aa67446e01bd277727b05710a42e69ac41e74b.tar.gz
llvm-b5aa67446e01bd277727b05710a42e69ac41e74b.tar.bz2
[libc++] Fix the installation of libc++ headers since the __config_site change
-rw-r--r--libcxx/include/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/include/CMakeLists.txt b/libcxx/include/CMakeLists.txt
index a8d6f74..82af0e7 100644
--- a/libcxx/include/CMakeLists.txt
+++ b/libcxx/include/CMakeLists.txt
@@ -223,14 +223,14 @@ if (LIBCXX_INSTALL_HEADERS)
endforeach()
# Install the generated __config_site.
- install(FILES ${LIBCXX_BINARY_DIR}/__config_site
+ install(FILES ${LIBCXX_GENERATED_INCLUDE_DIR}/__config_site
DESTINATION ${LIBCXX_INSTALL_HEADER_PREFIX}include/c++/v1
PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ
COMPONENT cxx-headers)
if (NOT CMAKE_CONFIGURATION_TYPES)
add_custom_target(install-cxx-headers
- DEPENDS cxx-headers cxx-generated-config
+ DEPENDS cxx-headers
COMMAND "${CMAKE_COMMAND}"
-DCMAKE_INSTALL_COMPONENT=cxx-headers
-P "${CMAKE_BINARY_DIR}/cmake_install.cmake")