From a956a105fe45459231b02332d7d52e78f33f8ca5 Mon Sep 17 00:00:00 2001 From: Eric Fiselier Date: Tue, 3 May 2016 05:34:38 +0000 Subject: [PATCH] Fix dependencies on install-libcxx CMake target git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@268363 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt index d4428758b..a09042243 100644 --- a/lib/CMakeLists.txt +++ b/lib/CMakeLists.txt @@ -178,13 +178,13 @@ endif() if (NOT CMAKE_CONFIGURATION_TYPES AND (LIBCXX_INSTALL_LIBRARY OR LIBCXX_INSTALL_HEADERS)) if(LIBCXX_INSTALL_LIBRARY) - set(deps DEPENDS cxx) + set(lib_install_target cxx) endif() if(LIBCXX_INSTALL_HEADERS) - set(deps DEPENDS install-libcxx-headers) + set(header_install_target install-libcxx-headers) endif() add_custom_target(install-libcxx - ${deps} + DEPENDS ${lib_install_target} ${header_install_target} COMMAND "${CMAKE_COMMAND}" -DCMAKE_INSTALL_COMPONENT=libcxx -P "${LIBCXX_BINARY_DIR}/cmake_install.cmake")