diff options
author | Alexey Edelev <alexey.edelev@qt.io> | 2022-03-15 18:04:59 +0100 |
---|---|---|
committer | Alexey Edelev <alexey.edelev@qt.io> | 2022-03-31 20:09:57 +0200 |
commit | 396d8b0d1759281f8de406e0c4b0b23a8999449c (patch) | |
tree | 4416ade255c7953713462aea20981a05246a17da /examples/qml/tutorials/extending-qml | |
parent | 11fda065817e3face3296b311694694eb0c46d97 (diff) |
Add VERBATIM option to add_custom_command calls
Use VERBATIM option to prepare the correct command line for the
add_custom_command. This especially sensitive when using build
directories with names containing special symbols, that cannot be
handled by shell correctly.
Change-Id: Ic6ea2a557fe4e7ccc1d2a0c5c4ab707223c0b91a
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'examples/qml/tutorials/extending-qml')
-rw-r--r-- | examples/qml/tutorials/extending-qml/chapter6-plugins/Charts/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/qml/tutorials/extending-qml/chapter6-plugins/Charts/CMakeLists.txt b/examples/qml/tutorials/extending-qml/chapter6-plugins/Charts/CMakeLists.txt index 28efcaace8..f76011e2f8 100644 --- a/examples/qml/tutorials/extending-qml/chapter6-plugins/Charts/CMakeLists.txt +++ b/examples/qml/tutorials/extending-qml/chapter6-plugins/Charts/CMakeLists.txt @@ -34,6 +34,7 @@ if(QT6_IS_SHARED_LIBS_BUILD AND APPLE) $<TARGET_FILE:chartsplugin> ${bundle_charts_dir} COMMAND ${CMAKE_COMMAND} -E copy_if_different ${chars_qmldir_file} ${bundle_charts_dir} + VERBATIM ) endif() endif() |