configure: simplify construction of QMAKE_CONFIG_CACHE
there doesn't appear to be a reason for the former complexity. QMAKE_CONFIG_LOG was already assigned the simple way. Change-Id: I6b7e3b5b97c7647237841fa5e16c4959079edc16 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
This commit is contained in:
parent
190aa94be7
commit
ad70f2ed20
@ -2028,10 +2028,7 @@ for (currentConfig, allConfigs) {
|
|||||||
}
|
}
|
||||||
qtConfCheckErrors()
|
qtConfCheckErrors()
|
||||||
|
|
||||||
!isEmpty(_QMAKE_SUPER_CACHE_): \
|
QMAKE_CONFIG_CACHE = $$OUT_PWD/config.cache
|
||||||
QMAKE_CONFIG_CACHE = $$dirname(_QMAKE_SUPER_CACHE_)/config.cache
|
|
||||||
else: \
|
|
||||||
QMAKE_CONFIG_CACHE = $$dirname(_QMAKE_CACHE_)/config.cache
|
|
||||||
QMAKE_CONFIG_CACHE_USE = $$eval(config.input.cache_use)
|
QMAKE_CONFIG_CACHE_USE = $$eval(config.input.cache_use)
|
||||||
isEmpty(QMAKE_CONFIG_CACHE_USE): \
|
isEmpty(QMAKE_CONFIG_CACHE_USE): \
|
||||||
QMAKE_CONFIG_CACHE_USE = all
|
QMAKE_CONFIG_CACHE_USE = all
|
||||||
|
Loading…
x
Reference in New Issue
Block a user