diff --git a/src/tools/tools.pro b/src/tools/tools.pro index 35cf3af736d..c15f2148076 100644 --- a/src/tools/tools.pro +++ b/src/tools/tools.pro @@ -23,7 +23,7 @@ exists($$LLVM_INSTALL_DIR) { SUBDIRS += clangbackend QTC_NO_CLANG_LIBTOOLING=$$(QTC_NO_CLANG_LIBTOOLING) - isEmpty($$QTC_NO_CLANG_LIBTOOLING) { + !isEmpty($$QTC_NO_CLANG_LIBTOOLING) { SUBDIRS += clangrefactoringbackend } else { warning("Building the Clang refactoring back end is disabled.")