diff --git a/src/libs/libs.pro b/src/libs/libs.pro index 34a5d938bf3..178a7a4cb8c 100644 --- a/src/libs/libs.pro +++ b/src/libs/libs.pro @@ -38,5 +38,11 @@ win32:SUBDIRS += utils/process_ctrlc_stub.pro # Windows: Compile Qt Creator CDB extension if Debugging tools can be detected. win32: isEmpty(QTC_SKIP_CDBEXT) { include(qtcreatorcdbext/cdb_detect.pri) - exists($$CDB_PATH):SUBDIRS += qtcreatorcdbext + exists($$CDB_PATH) { + SUBDIRS += qtcreatorcdbext + } else { + message("Compiling Qt Creator without a CDB extension.") + message("If CDB is installed in a none default path define a CDB_PATH") + message("environment variable pointing to your CDB installation.") + } }