[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)
llvm-svn: 261911

clang/lib/Headers/CMakeLists.txt

index f7218aa..4c313da 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")