aboutsummaryrefslogtreecommitdiffstats
path: root/tools/qmlformat/.prev_CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'tools/qmlformat/.prev_CMakeLists.txt')
-rw-r--r--tools/qmlformat/.prev_CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/qmlformat/.prev_CMakeLists.txt b/tools/qmlformat/.prev_CMakeLists.txt
index 940e68d9d0..e99eca96e1 100644
--- a/tools/qmlformat/.prev_CMakeLists.txt
+++ b/tools/qmlformat/.prev_CMakeLists.txt
@@ -4,7 +4,8 @@
## qmlformat Tool:
#####################################################################
-qt_add_tool(qmlformat
+qt_get_tool_target_name(target_name qmlformat)
+qt_add_tool(${target_name}
TARGET_DESCRIPTION "QML Formatter"
SOURCES
commentastvisitor.cpp commentastvisitor.h