diff options
author | Shoaib Meenai <smeenai@fb.com> | 2017-11-02 05:04:00 +0000 |
---|---|---|
committer | Shoaib Meenai <smeenai@fb.com> | 2017-11-02 05:04:00 +0000 |
commit | f64cd485b4e8b2c3960a216a97c818c3687be15a (patch) | |
tree | c7d29bdf6479d4f830107299386f979595a851a6 /tools | |
parent | ad9b4c4084b6a074a6501e9be963fd4a1619fdf3 (diff) |
[libclang] Add dummy libclang-headers target
`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.
Differential Revision: https://reviews.llvm.org/D39524
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@317188 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r-- | tools/libclang/CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/libclang/CMakeLists.txt b/tools/libclang/CMakeLists.txt index a28499c2c4..da2beca2ac 100644 --- a/tools/libclang/CMakeLists.txt +++ b/tools/libclang/CMakeLists.txt @@ -141,6 +141,11 @@ install(DIRECTORY ../../include/clang-c 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 |