Define V_NO_ASSERT.
This commit is contained in:
parent
adce1f28e6
commit
af647e6386
|
@ -106,6 +106,9 @@ Module {
|
||||||
defines.push('PKGDATADIR="' + FileInfo.joinPaths(dataDir, "valentina") + '"');
|
defines.push('PKGDATADIR="' + FileInfo.joinPaths(dataDir, "valentina") + '"');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (qbs.buildVariant !== "debug")
|
||||||
|
defines.push('V_NO_ASSERT');
|
||||||
|
|
||||||
return defines;
|
return defines;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user