Commit f3de5fb6 authored by dt's avatar dt
Browse files

Fix DESTDIR=. case

Qmake treats "." special, we need to do the same
parent ddfdf2ed
......@@ -1571,7 +1571,7 @@ TargetInformation Qt4ProFileNode::targetInformation(ProFileReader *reader) const
result.workingDir = QDir::cleanPath(result.workingDir);
QString wd = result.workingDir;
if (!reader->contains("DESTDIR")
if ( (!reader->contains("DESTDIR") || reader->value("DESTDIR") == ".")
&& reader->values("CONFIG").contains("debug_and_release")
&& reader->values("CONFIG").contains("debug_and_release_target")) {
// If we don't have a destdir and debug and release is set
......
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