From b4cc34d0ae2cf754482578eeaab9a3102aef4e6c Mon Sep 17 00:00:00 2001 From: Andrew Kaster Date: Sun, 22 Jun 2025 12:42:46 -0600 Subject: [PATCH] CMake: Prepend space to VCPKG_{C,CXX}_FLAGS in icu port overlay When updating these variables, the appender is responsible for the preceeding space. Otherwise, flags get jammed together. --- Meta/CMake/vcpkg/overlay-ports/icu/portfile.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Meta/CMake/vcpkg/overlay-ports/icu/portfile.cmake b/Meta/CMake/vcpkg/overlay-ports/icu/portfile.cmake index 02f79127801..58ba53fe394 100644 --- a/Meta/CMake/vcpkg/overlay-ports/icu/portfile.cmake +++ b/Meta/CMake/vcpkg/overlay-ports/icu/portfile.cmake @@ -64,8 +64,8 @@ if(VCPKG_TARGET_IS_WINDOWS) list(APPEND CONFIGURE_OPTIONS --enable-icu-build-win) # https://github.com/microsoft/vcpkg/pull/38826/files#diff-ea2b03d0dcb43b39cfac7b4f96e0ba52a5e4f15c1df6986850e0d52d56229430R64 if(NOT VCPKG_TARGET_IS_MINGW) - string(APPEND VCPKG_C_FLAGS "/std:c11") - string(APPEND VCPKG_CXX_FLAGS "/std:c++17") + string(APPEND VCPKG_C_FLAGS " /std:c11") + string(APPEND VCPKG_CXX_FLAGS " /std:c++17") endif() endif()