diff options
Diffstat (limited to 'cmake/QtExecutableHelpers.cmake')
-rw-r--r-- | cmake/QtExecutableHelpers.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/QtExecutableHelpers.cmake b/cmake/QtExecutableHelpers.cmake index b8bccdbb07..4bd03c8f8c 100644 --- a/cmake/QtExecutableHelpers.cmake +++ b/cmake/QtExecutableHelpers.cmake @@ -429,7 +429,7 @@ function(qt_internal_add_configure_time_executable target) set(cmake_flags_arg) if(arg_CMAKE_FLAGS) - set(cmake_flags_arg CMAKE_FLAGS ${arg_CMAKE_FLAGS}) + set(cmake_flags_arg CMAKE_FLAGS "${arg_CMAKE_FLAGS}") endif() configure_file("${template}" "${target_binary_dir}/CMakeLists.txt" @ONLY) try_compile(result |