[PATCH] D39524: [libclang] Add dummy libclang-headers target
    Shoaib Meenai via Phabricator via cfe-commits 
    cfe-commits at lists.llvm.org
       
    Wed Nov  1 22:04:36 PDT 2017
    
    
  
This revision was automatically updated to reflect the committed changes.
Closed by commit rL317188: [libclang] Add dummy libclang-headers target (authored by smeenai).
Repository:
  rL LLVM
https://reviews.llvm.org/D39524
Files:
  cfe/trunk/tools/libclang/CMakeLists.txt
Index: cfe/trunk/tools/libclang/CMakeLists.txt
===================================================================
--- cfe/trunk/tools/libclang/CMakeLists.txt
+++ cfe/trunk/tools/libclang/CMakeLists.txt
@@ -141,6 +141,11 @@
   PATTERN ".svn" EXCLUDE
   )
 
+# LLVM_DISTRIBUTION_COMPONENTS requires that each component have both a
+# component and an install-component target, so add a dummy libclang-headers
+# target to allow using it in LLVM_DISTRIBUTION_COMPONENTS.
+add_custom_target(libclang-headers)
+
 if (NOT CMAKE_CONFIGURATION_TYPES) # don't add this for IDE's.
   add_custom_target(install-libclang-headers
     DEPENDS
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D39524.121234.patch
Type: text/x-patch
Size: 631 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20171102/8682e9c3/attachment.bin>
    
    
More information about the cfe-commits
mailing list