Correct way to check os type.

This commit is contained in:
Roman Telezhynskyi 2023-09-23 09:55:42 +03:00
parent e368b3d2b7
commit 232e1f049a

View File

@ -830,7 +830,7 @@ Module {
}
}
if (qbs.targetPlatform.contains("unix"))
if (qbs.targetOS.contains("unix"))
{
var xercescHeaders = "/usr/local/include/xercesc";
if (File.exists(xercescHeaders) && !paths.contains(xercescHeaders))