Define V_NO_ASSERT.

This commit is contained in:
Roman Telezhynskyi 2023-01-10 13:18:50 +02:00
parent adce1f28e6
commit af647e6386

View File

@ -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;
} }