refs #461 Only complain about missing externals when qmake is really generating build files.

This is so we can use the fromfile function to extract variables from pro files.
This commit is contained in:
Mathew Sutcliffe
2015-11-23 02:31:18 +00:00
parent 7c9ddd1fda
commit 09c0d4b862
2 changed files with 2 additions and 1 deletions

View File

@@ -2,3 +2,4 @@ SourceRoot=$$PWD
BuildRoot=$$shadowed($$SourceRoot)
DestRootDebug=$$BuildRoot/out/debug
DestRootRelease=$$BuildRoot/out/release
CONFIG+=in_full_qmake

View File

@@ -107,7 +107,7 @@ isEmpty(EXTERNALSROOT) {
EXTERNALSROOT = $$SourceRoot/externals
}
!exists("$$EXTERNALSROOT/common/include") {
!exists("$$EXTERNALSROOT/common/include"):in_full_qmake {
error("Could not find externals in $$EXTERNALSROOT. Please install it!")
}