diff options
Diffstat (limited to 'libcxx/lib/CMakeLists.txt')
-rw-r--r-- | libcxx/lib/CMakeLists.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libcxx/lib/CMakeLists.txt b/libcxx/lib/CMakeLists.txt index 3e3c47f2265..d4428758bbf 100644 --- a/libcxx/lib/CMakeLists.txt +++ b/libcxx/lib/CMakeLists.txt @@ -180,8 +180,11 @@ if (NOT CMAKE_CONFIGURATION_TYPES AND (LIBCXX_INSTALL_LIBRARY OR if(LIBCXX_INSTALL_LIBRARY) set(deps DEPENDS cxx) endif() + if(LIBCXX_INSTALL_HEADERS) + set(deps DEPENDS install-libcxx-headers) + endif() add_custom_target(install-libcxx - ${deps} + ${deps} COMMAND "${CMAKE_COMMAND}" -DCMAKE_INSTALL_COMPONENT=libcxx -P "${LIBCXX_BINARY_DIR}/cmake_install.cmake") |