aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/doc/snippets
diff options
context:
space:
mode:
authorAndrei Golubev <andrei.golubev@qt.io>2022-01-25 21:30:41 +0100
committerAndrei Golubev <andrei.golubev@qt.io>2022-01-26 19:23:16 +0100
commit97123dbe6755a787e93797f717f8ebf193352b85 (patch)
treecd1dd06c612f1a704a6275f67c71a8a39f68b2a8 /src/qml/doc/snippets
parentdd55dc7e3d20d12af333731448346a58b5d0ba19 (diff)
qmltc: Rename CMake command's argument FILES -> QML_FILES
This way we make it consistent with qt_add_qml_module() Fixes: QTBUG-100214 Pick-to: 6.3 Change-Id: I9f38a8ba3dec978ccdf4ea937ff662ae2449e582 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'src/qml/doc/snippets')
-rw-r--r--src/qml/doc/snippets/qmltc/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/doc/snippets/qmltc/CMakeLists.txt b/src/qml/doc/snippets/qmltc/CMakeLists.txt
index 4eb60fce38..69bfda7249 100644
--- a/src/qml/doc/snippets/qmltc/CMakeLists.txt
+++ b/src/qml/doc/snippets/qmltc/CMakeLists.txt
@@ -55,6 +55,6 @@ target_link_libraries(${application_name} PRIVATE Qt::QmlPrivate Qt::QuickPrivat
# Compile qml files (listed in FILES) to C++ using qmltc and add these files to
# the application binary:
qt6_target_compile_qml_to_cpp(${application_name}
- FILES ${application_qml_files}
+ QML_FILES ${application_qml_files}
)
#! [qmltc-compile-to-cpp]