forked from qt-creator/qt-creator
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:
@@ -101,8 +101,8 @@ isEmpty(LLVM_INSTALL_DIR):LLVM_INSTALL_DIR=$$(LLVM_INSTALL_DIR)
|
||||
exists($$LLVM_INSTALL_DIR) {
|
||||
SUBDIRS += clangcodemodel
|
||||
|
||||
QTC_NO_CLANG_LIBTOOLING=$$(QTC_NO_CLANG_LIBTOOLING)
|
||||
isEmpty(QTC_NO_CLANG_LIBTOOLING) {
|
||||
LIBTOOLING_LIBS=$$(LIBTOOLING_LIBS)
|
||||
!isEmpty(LIBTOOLING_LIBS) {
|
||||
SUBDIRS += clangrefactoring
|
||||
SUBDIRS += clangpchmanager
|
||||
} else {
|
||||
|
@@ -24,8 +24,8 @@ isEmpty(LLVM_INSTALL_DIR):LLVM_INSTALL_DIR=$$(LLVM_INSTALL_DIR)
|
||||
exists($$LLVM_INSTALL_DIR) {
|
||||
SUBDIRS += clangbackend
|
||||
|
||||
QTC_NO_CLANG_LIBTOOLING=$$(QTC_NO_CLANG_LIBTOOLING)
|
||||
isEmpty(QTC_NO_CLANG_LIBTOOLING) {
|
||||
LIBTOOLING_LIBS=$$(LIBTOOLING_LIBS)
|
||||
!isEmpty(LIBTOOLING_LIBS) {
|
||||
SUBDIRS += clangrefactoringbackend
|
||||
SUBDIRS += clangpchmanagerbackend
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user