qtcreatorcdbext: Fix qbs build for the "no python" case

Change-Id: Ic62b1052ffa693c0a040de1a2efd2dc06b49ac7f
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
Christian Kandeler
2017-07-28 11:07:22 +02:00
parent 42d19bf367
commit 02b825c65f

View File

@@ -122,7 +122,10 @@ QtcLibrary {
]
}
cpp.defines: ["WITH_PYTHON=1"]
Properties {
condition: pythonDllProbe.found
cpp.defines: ["WITH_PYTHON=1"]
}
cpp.includePaths: {
var paths = [FileInfo.joinPaths(cdbPath, "inc")];
if (pythonDllProbe.found)