r261911 - [CMake] Fixing install-clang-headers dependencies to depend on generating the headers.

Chris Bieneman via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 25 10:39:19 PST 2016


Author: cbieneman
Date: Thu Feb 25 12:39:19 2016
New Revision: 261911

URL: http://llvm.org/viewvc/llvm-project?rev=261911&view=rev
Log:
[CMake] Fixing install-clang-headers dependencies to depend on generating the headers.

Modified:
    cfe/trunk/lib/Headers/CMakeLists.txt

Modified: cfe/trunk/lib/Headers/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Headers/CMakeLists.txt?rev=261911&r1=261910&r2=261911&view=diff
==============================================================================
--- cfe/trunk/lib/Headers/CMakeLists.txt (original)
+++ cfe/trunk/lib/Headers/CMakeLists.txt Thu Feb 25 12:39:19 2016
@@ -110,7 +110,7 @@ install(
 
 if (NOT CMAKE_CONFIGURATION_TYPES) # don't add this for IDE's.
   add_custom_target(install-clang-headers
-    DEPENDS
+    DEPENDS clang-headers
     COMMAND "${CMAKE_COMMAND}"
             -DCMAKE_INSTALL_COMPONENT=clang-headers
             -P "${CMAKE_BINARY_DIR}/cmake_install.cmake")




More information about the cfe-commits mailing list