summaryrefslogtreecommitdiff
path: root/src/qtwaylandscanner/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/qtwaylandscanner/CMakeLists.txt')
-rw-r--r--src/qtwaylandscanner/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
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