From 396d8b0d1759281f8de406e0c4b0b23a8999449c Mon Sep 17 00:00:00 2001 From: Alexey Edelev Date: Tue, 15 Mar 2022 18:04:59 +0100 Subject: 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 Reviewed-by: Alexandru Croitor --- .../qml/tutorials/extending-qml/chapter6-plugins/Charts/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'examples/qml/tutorials/extending-qml') 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) $ ${bundle_charts_dir} COMMAND ${CMAKE_COMMAND} -E copy_if_different ${chars_qmldir_file} ${bundle_charts_dir} + VERBATIM ) endif() endif() -- cgit v1.2.3