Suppress xerces-c warnings.

This commit is contained in:
Roman Telezhynskyi 2023-09-23 09:27:20 +03:00
parent 5486c208c3
commit e368b3d2b7

View File

@ -829,6 +829,15 @@ Module {
paths.push(includePaths[i]); paths.push(includePaths[i]);
} }
} }
if (qbs.targetPlatform.contains("unix"))
{
var xercescHeaders = "/usr/local/include/xercesc";
if (File.exists(xercescHeaders) && !paths.contains(xercescHeaders))
{
paths.push(xercescHeaders);
}
}
} }
if (Utilities.versionCompare(qbs.version, "1.22") < 0) if (Utilities.versionCompare(qbs.version, "1.22") < 0)