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 | c37c747b2cdd38294c0927c441fd8651f0f7bf70 (patch) | |
tree | f1cc76d1cefc2c72ad15dd0963dc129582593857 | |
parent | 99cfb67ad280e4147fa7ff8d8b1930669adb74e3 (diff) | |
download | bcm5719-llvm-c37c747b2cdd38294c0927c441fd8651f0f7bf70.tar.gz bcm5719-llvm-c37c747b2cdd38294c0927c441fd8651f0f7bf70.zip |
[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
llvm-svn: 317188
-rw-r--r-- | clang/tools/libclang/CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/tools/libclang/CMakeLists.txt b/clang/tools/libclang/CMakeLists.txt index a28499c2c46..da2beca2ac1 100644 --- a/clang/tools/libclang/CMakeLists.txt +++ b/clang/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 |