Commit 38d048fb authored by Friedemann Kleint's avatar Friedemann Kleint
Browse files

Debugger[CDB]: Fix autodetection of "Debugging Tools".

Always detected true since the existence of the file
was not checked after the last clause.
parent f8db0ae7
......@@ -19,5 +19,5 @@ SUBDIRS = \
# Windows: Compile Qt Creator CDB extension if Debugging tools can be detected.
win32 {
include(qtcreatorcdbext/cdb_detect.pri)
!isEmpty(CDB_PATH):SUBDIRS += qtcreatorcdbext
exists($$CDB_PATH):SUBDIRS += qtcreatorcdbext
}
......@@ -12,5 +12,6 @@ win32 {
!exists($$CDB_PATH):CDB_PATH="$$(ProgramW6432)/Debugging Tools For Windows (x86)/sdk"
!exists($$CDB_PATH):CDB_PATH="$$(ProgramW6432)/Debugging Tools For Windows (x64)/sdk"
!exists($$CDB_PATH):CDB_PATH="$$(ProgramW6432)/Debugging Tools For Windows 64-bit/sdk"
!exists($$CDB_PATH)::CDB_PATH=""
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment