Avoid a warning when environment variable THERMALSIM is empty

This commit is contained in:
Éder F. Zulian
2015-10-20 16:42:37 +02:00
parent 8e64eee64d
commit 5ae04097b0
2 changed files with 8 additions and 0 deletions

View File

@@ -1,6 +1,10 @@
TEMPLATE = subdirs
thermalsim = $$(THERMALSIM)
isEmpty(thermalsim) {
thermalsim = false
}
$$eval(thermalsim) {
message(Thermal Simulation Feature Enabled)

View File

@@ -135,6 +135,10 @@ HEADERS += \
src/error/errormodel.h
thermalsim = $$(THERMALSIM)
isEmpty(thermalsim) {
thermalsim = false
}
$$eval(thermalsim) {
message(Thermal Simulation Feature Enabled)