summaryrefslogtreecommitdiffstats
path: root/cmake/QtSeparateDebugInfo.cmake
diff options
context:
space:
mode:
authorAlexey Edelev <alexey.edelev@qt.io>2022-03-15 17:37:11 +0100
committerAlexey Edelev <alexey.edelev@qt.io>2022-03-17 15:15:06 +0100
commit8adacba3e6970d784108645d5c0a70e5b9c1151e (patch)
tree40055c9e057c1f4b24fb37f05cbed542f8365b64 /cmake/QtSeparateDebugInfo.cmake
parent74bef86da8b63996ca6947d81e82b667ac1eb0b2 (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: I51d7041cb806411135fd59bf6273c04a3c695443 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'cmake/QtSeparateDebugInfo.cmake')
-rw-r--r--cmake/QtSeparateDebugInfo.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/QtSeparateDebugInfo.cmake b/cmake/QtSeparateDebugInfo.cmake
index 00ac4519fe..55c445ba98 100644
--- a/cmake/QtSeparateDebugInfo.cmake
+++ b/cmake/QtSeparateDebugInfo.cmake
@@ -115,5 +115,5 @@ function(qt_enable_separate_debug_info target installDestination)
TARGET ${target}
POST_BUILD
${commands}
- )
+ VERBATIM)
endfunction()