summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2020-07-09 14:27:53 +0200
committerAlexandru Croitor <alexandru.croitor@qt.io>2020-07-09 14:33:53 +0200
commit48e30da0902ba0775a04745d091abea49742fb89 (patch)
tree93af66909d9c0099ba36891d09844eb029dc1bc2 /src
parentd636d86206f5b32667709bf9a7717460cc5b17a0 (diff)
downloadqtwayland-48e30da0902ba0775a04745d091abea49742fb89.tar.gz
CMake: Regenerate projects
We need the qt_add_tool changes to successfully configure qemu builds. The rest of the changes are just to be in sync with the .pro files. Change-Id: I64e92edc2486a71c88bd964a07adf502481b200d Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'src')
-rw-r--r--src/qtwaylandscanner/.prev_CMakeLists.txt3
-rw-r--r--src/qtwaylandscanner/CMakeLists.txt3
2 files changed, 4 insertions, 2 deletions
diff --git a/src/qtwaylandscanner/.prev_CMakeLists.txt b/src/qtwaylandscanner/.prev_CMakeLists.txt
index bb413544..baa16eae 100644
--- a/src/qtwaylandscanner/.prev_CMakeLists.txt
+++ b/src/qtwaylandscanner/.prev_CMakeLists.txt
@@ -4,7 +4,8 @@
## qtwaylandscanner Tool:
#####################################################################
-qt_add_tool(qtwaylandscanner
+qt_get_tool_target_name(target_name qtwaylandscanner)
+qt_add_tool(${target_name}
SOURCES
qtwaylandscanner.cpp
PUBLIC_LIBRARIES
diff --git a/src/qtwaylandscanner/CMakeLists.txt b/src/qtwaylandscanner/CMakeLists.txt
index 17254afc..74acf341 100644
--- a/src/qtwaylandscanner/CMakeLists.txt
+++ b/src/qtwaylandscanner/CMakeLists.txt
@@ -4,7 +4,8 @@
## qtwaylandscanner Tool:
#####################################################################
-qt_add_tool(qtwaylandscanner
+qt_get_tool_target_name(target_name qtwaylandscanner)
+qt_add_tool(${target_name}
TOOLS_TARGET WaylandScanner # special case
SOURCES
qtwaylandscanner.cpp