From dd0251190d71d1cd03235fc9abbb6e4cae5f9b86 Mon Sep 17 00:00:00 2001 From: Wei HU <37072526+huweiATgithub@users.noreply.github.com> Date: Tue, 23 Jul 2024 09:46:38 +0800 Subject: [PATCH] CMake: add quotes around path QT_DEPLOY_SUPPORT to fix space in path --- src/corelib/Qt6CoreMacros.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/corelib/Qt6CoreMacros.cmake b/src/corelib/Qt6CoreMacros.cmake index 81ee285aded..2894300f40e 100644 --- a/src/corelib/Qt6CoreMacros.cmake +++ b/src/corelib/Qt6CoreMacros.cmake @@ -3651,7 +3651,7 @@ function(qt6_generate_deploy_script) set(${arg_OUTPUT_SCRIPT} "${deploy_script}" PARENT_SCOPE) _qt_internal_get_i18n_catalogs_for_modules(catalogs ${QT_ALL_MODULES_FOUND_VIA_FIND_PACKAGE}) - set(boiler_plate "include(${QT_DEPLOY_SUPPORT}) + set(boiler_plate "include(\"${QT_DEPLOY_SUPPORT}\") include(\"\${CMAKE_CURRENT_LIST_DIR}/${arg_TARGET}-plugins${config_infix}.cmake\" OPTIONAL) set(__QT_DEPLOY_I18N_CATALOGS \"${catalogs}\") ")