Method includes is not available in old Qbs versions.

This commit is contained in:
Roman Telezhynskyi 2023-08-18 14:44:11 +03:00
parent b46ca34d84
commit 493b11bfd6

View File

@ -823,7 +823,7 @@ Module {
for(var i = 0; i < includePaths.length; i++)
{
if (typeof includePaths[i] === 'string' && includePaths[i].includes("xerces-c"))
if (includePaths[i].indexOf("xerces-c") !== -1)
{
paths.push(includePaths[i]);
}