[libcxx] r268363 - Fix dependencies on install-libcxx CMake target

Eric Fiselier via cfe-commits cfe-commits at lists.llvm.org
Mon May 2 22:34:38 PDT 2016


Author: ericwf
Date: Tue May  3 00:34:38 2016
New Revision: 268363

URL: http://llvm.org/viewvc/llvm-project?rev=268363&view=rev
Log:
Fix dependencies on install-libcxx CMake target

Modified:
    libcxx/trunk/lib/CMakeLists.txt

Modified: libcxx/trunk/lib/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/lib/CMakeLists.txt?rev=268363&r1=268362&r2=268363&view=diff
==============================================================================
--- libcxx/trunk/lib/CMakeLists.txt (original)
+++ libcxx/trunk/lib/CMakeLists.txt Tue May  3 00:34:38 2016
@@ -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")




More information about the cfe-commits mailing list