summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2019-10-04 14:03:42 +0200
committerJoerg Bornemann <joerg.bornemann@qt.io>2019-10-08 16:01:36 +0000
commit152c593423ee42c9197bf2b6f7e9e44e9fd6111b (patch)
tree7bf4f4ea750d7a1ef787c078c13aa124ebde017f
parent1aaa53b6dbbc01c27742bd032d500123bcb11a48 (diff)
pro2cmake: Handle QTRO_SOURCE_TREE
...which is the source root of qtremoteobjects. Set to CMAKE_SOURCE_DIR for now. Change-Id: I6797e170749ed01bbc1bac4daa7709d3aae1f84b Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
-rwxr-xr-xutil/cmake/pro2cmake.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/cmake/pro2cmake.py b/util/cmake/pro2cmake.py
index 3579e8d35e..5e1af0d373 100755
--- a/util/cmake/pro2cmake.py
+++ b/util/cmake/pro2cmake.py
@@ -806,6 +806,7 @@ class Scope(object):
operations = {
"QT_SOURCE_TREE": [SetOperation(["${QT_SOURCE_TREE}"])],
"QT_BUILD_TREE": [SetOperation(["${PROJECT_BINARY_DIR}"])],
+ "QTRO_SOURCE_TREE": [SetOperation(["${CMAKE_SOURCE_DIR}"])],
}
self._operations = copy.deepcopy(operations)