From a1af533095b901fa62456172b525bbe93440e69a Mon Sep 17 00:00:00 2001 From: Kai Pastor Date: Wed, 26 Oct 2022 05:50:13 +0200 Subject: [PATCH] [scripts] Fix meson for mingw (#27380) * Fix mingw * Remove invalid transformation Co-authored-by: Alexander Neumann <30894796+Neumann-A@users.noreply.github.com> Co-authored-by: Alexander Neumann <30894796+Neumann-A@users.noreply.github.com> Co-authored-by: Billy Robert O'Neal III --- scripts/cmake/vcpkg_configure_meson.cmake | 2 -- 1 file changed, 2 deletions(-) diff --git a/scripts/cmake/vcpkg_configure_meson.cmake b/scripts/cmake/vcpkg_configure_meson.cmake index 918b6617cc..c80e818fcf 100644 --- a/scripts/cmake/vcpkg_configure_meson.cmake +++ b/scripts/cmake/vcpkg_configure_meson.cmake @@ -264,8 +264,6 @@ function(z_vcpkg_meson_setup_extra_windows_variables config_type) ## winlibs separate_arguments(c_winlibs NATIVE_COMMAND "${VCPKG_DETECTED_CMAKE_C_STANDARD_LIBRARIES}") separate_arguments(cpp_winlibs NATIVE_COMMAND "${VCPKG_DETECTED_CMAKE_CXX_STANDARD_LIBRARIES}") - list(TRANSFORM c_winlibs REPLACE "^(-|/)" "") - list(TRANSFORM cpp_winlibs REPLACE "^(-|/)" "") z_vcpkg_meson_convert_list_to_python_array(c_winlibs ${c_winlibs}) z_vcpkg_meson_convert_list_to_python_array(cpp_winlibs ${cpp_winlibs}) set(MESON_WINLIBS "c_winlibs = ${c_winlibs}\n")