[PATCH] D39524: [libclang] Add dummy libclang-headers target

Shoaib Meenai via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 1 18:05:23 PDT 2017


smeenai created this revision.
Herald added a subscriber: mgorny.

`LLVM_DISTRIBUTION_COMPONENTS` assumes that each component has both
`component` and `install-component` targets. Add a dummy no-op target
for `libclang-headers` to placate this check.


https://reviews.llvm.org/D39524

Files:
  tools/libclang/CMakeLists.txt


Index: tools/libclang/CMakeLists.txt
===================================================================
--- tools/libclang/CMakeLists.txt
+++ tools/libclang/CMakeLists.txt
@@ -141,6 +141,9 @@
   PATTERN ".svn" EXCLUDE
   )
 
+# Add dummy target to placate 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.121220.patch
Type: text/x-patch
Size: 449 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20171102/e755d50c/attachment.bin>


More information about the cfe-commits mailing list