Correct way to check os type.
This commit is contained in:
parent
e368b3d2b7
commit
232e1f049a
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue
Block a user