Clang: Disable LLVM depend tools if there are no LibToolings libs

Change-Id: Ib30889d75e26916fe02ef10de9f9a20eb8eb893e
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
Marco Bubke
2017-07-18 16:51:01 +02:00
parent 240d2dc4d4
commit d6d89e3859
2 changed files with 4 additions and 4 deletions

View File

@@ -101,8 +101,8 @@ isEmpty(LLVM_INSTALL_DIR):LLVM_INSTALL_DIR=$$(LLVM_INSTALL_DIR)
exists($$LLVM_INSTALL_DIR) { exists($$LLVM_INSTALL_DIR) {
SUBDIRS += clangcodemodel SUBDIRS += clangcodemodel
QTC_NO_CLANG_LIBTOOLING=$$(QTC_NO_CLANG_LIBTOOLING) LIBTOOLING_LIBS=$$(LIBTOOLING_LIBS)
isEmpty(QTC_NO_CLANG_LIBTOOLING) { !isEmpty(LIBTOOLING_LIBS) {
SUBDIRS += clangrefactoring SUBDIRS += clangrefactoring
SUBDIRS += clangpchmanager SUBDIRS += clangpchmanager
} else { } else {

View File

@@ -24,8 +24,8 @@ isEmpty(LLVM_INSTALL_DIR):LLVM_INSTALL_DIR=$$(LLVM_INSTALL_DIR)
exists($$LLVM_INSTALL_DIR) { exists($$LLVM_INSTALL_DIR) {
SUBDIRS += clangbackend SUBDIRS += clangbackend
QTC_NO_CLANG_LIBTOOLING=$$(QTC_NO_CLANG_LIBTOOLING) LIBTOOLING_LIBS=$$(LIBTOOLING_LIBS)
isEmpty(QTC_NO_CLANG_LIBTOOLING) { !isEmpty(LIBTOOLING_LIBS) {
SUBDIRS += clangrefactoringbackend SUBDIRS += clangrefactoringbackend
SUBDIRS += clangpchmanagerbackend SUBDIRS += clangpchmanagerbackend
} else { } else {