summaryrefslogtreecommitdiff
path: root/src/libs
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2017-07-28 11:07:22 +0200
committerChristian Kandeler <christian.kandeler@qt.io>2017-07-28 09:52:33 +0000
commit02b825c65fe03d8853af885ca9d776efb15d1875 (patch)
treecb7fcad3178e2edd09cef6b067934f3be3336354 /src/libs
parent42d19bf36782f5728f82f6dd1c9088f58866a66a (diff)
downloadqt-creator-02b825c65fe03d8853af885ca9d776efb15d1875.tar.gz
qtcreatorcdbext: Fix qbs build for the "no python" case
Change-Id: Ic62b1052ffa693c0a040de1a2efd2dc06b49ac7f Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'src/libs')
-rw-r--r--src/libs/qtcreatorcdbext/qtcreatorcdbext.qbs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/libs/qtcreatorcdbext/qtcreatorcdbext.qbs b/src/libs/qtcreatorcdbext/qtcreatorcdbext.qbs
index 15542f32d1..2243c21758 100644
--- a/src/libs/qtcreatorcdbext/qtcreatorcdbext.qbs
+++ b/src/libs/qtcreatorcdbext/qtcreatorcdbext.qbs
@@ -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)