diff --git a/cmake/QtTestHelpers.cmake b/cmake/QtTestHelpers.cmake index 5b73efdfeb0..58742537aa3 100644 --- a/cmake/QtTestHelpers.cmake +++ b/cmake/QtTestHelpers.cmake @@ -577,7 +577,7 @@ execute_process(COMMAND ${extra_runner} ${arg_COMMAND} ${post_run} if(NOT result EQUAL 0) string(JOIN \" \" full_command ${arg_COMMAND}) - message(FATAL_ERROR \"\${full_command} execution failed with exit code ${result}.\") + message(FATAL_ERROR \"\${full_command} execution failed with exit code \${result}.\") endif()" ) endfunction()