[PATCH] Cpp11-migrate built without the 'default' target can't find headers properly.

Ariel Bernal ariel.j.bernal at intel.com
Fri Mar 22 06:41:56 PDT 2013


Hi revane,

Added clang-headers dependency to CMakeLists.txt
This fixes Bug 15548.


http://llvm-reviews.chandlerc.com/D570

Files:
  cpp11-migrate/CMakeLists.txt

Index: cpp11-migrate/CMakeLists.txt
===================================================================
--- cpp11-migrate/CMakeLists.txt
+++ cpp11-migrate/CMakeLists.txt
@@ -22,6 +22,10 @@
   ${Cpp11MigrateSources}
   )
 
+add_dependencies(cpp11-migrate
+  clang-headers
+  )
+
 target_link_libraries(cpp11-migrate
   clangTooling
   clangBasic
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D570.1.patch
Type: text/x-patch
Size: 345 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130322/032d602b/attachment.bin>


More information about the cfe-commits mailing list