summaryrefslogtreecommitdiffstats
path: root/clang/tools/c-index-test
diff options
context:
space:
mode:
authorShoaib Meenai <smeenai@fb.com>2019-02-20 23:08:43 +0000
committerShoaib Meenai <smeenai@fb.com>2019-02-20 23:08:43 +0000
commitdefb5a383b298a786bac2759553be0c500cb660c (patch)
tree86c515ec7be5570f1e5932f46ec78638e43af420 /clang/tools/c-index-test
parent9aefd7f55411e9f9d03891a199b42e2801705f43 (diff)
downloadbcm5719-llvm-defb5a383b298a786bac2759553be0c500cb660c.tar.gz
bcm5719-llvm-defb5a383b298a786bac2759553be0c500cb660c.zip
[clang] Switch to LLVM_ENABLE_IDE
r344555 switched LLVM to guarding install targets with LLVM_ENABLE_IDE instead of CMAKE_CONFIGURATION_TYPES, which expresses the intent more directly and can be overridden by a user. Make the corresponding change in clang. LLVM_ENABLE_IDE is computed by HandleLLVMOptions, so it should be available for both standalone and integrated builds. Differential Revision: https://reviews.llvm.org/D58284 llvm-svn: 354525
Diffstat (limited to 'clang/tools/c-index-test')
-rw-r--r--clang/tools/c-index-test/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/tools/c-index-test/CMakeLists.txt b/clang/tools/c-index-test/CMakeLists.txt
index 53e3421f1b3..ceef4b08637 100644
--- a/clang/tools/c-index-test/CMakeLists.txt
+++ b/clang/tools/c-index-test/CMakeLists.txt
@@ -61,7 +61,7 @@ if (NOT LLVM_INSTALL_TOOLCHAIN_ONLY)
RUNTIME DESTINATION "${INSTALL_DESTINATION}"
COMPONENT c-index-test)
- if (NOT CMAKE_CONFIGURATION_TYPES) # don't add this for IDE's.
+ if (NOT LLVM_ENABLE_IDE)
add_llvm_install_targets(install-c-index-test
DEPENDS c-index-test
COMPONENT c-index-test)
OpenPOWER on IntegriCloud