]> granicus.if.org Git - clang/commitdiff
[CMake] Fixing install-clang-headers dependencies to depend on generating the headers.
authorChris Bieneman <beanz@apple.com>
Thu, 25 Feb 2016 18:39:19 +0000 (18:39 +0000)
committerChris Bieneman <beanz@apple.com>
Thu, 25 Feb 2016 18:39:19 +0000 (18:39 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@261911 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Headers/CMakeLists.txt

index f7218aa3bd97b8d96c8b5f1e0484fce8aed23c46..4c313dadc515a35927d561f61a8814b8f196f7b2 100644 (file)
@@ -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")