From 3217e2559619d0a6b1d2a78e2a944f2aba84e8ce Mon Sep 17 00:00:00 2001 From: Alexander Neumann <30894796+Neumann-A@users.noreply.github.com> Date: Wed, 18 Nov 2020 22:36:20 +0100 Subject: [meson|scripts] update scripts (#12945) * Update meson to a recent commit to fix a bug with 0.56 * rename static libraries built by meson by default on windows * apply cmake variables detection to meson. use native/cross files make arm builds work. * update munit * fix fribidi * fix _FLAGS variables * set env SDKROOT and MACOSX_DEPLOYMENT_TARGET in configure_meson * need osx env while building and configuring * - remove unused env backup functions - rename internal functions to be prefixed with _vcpkg_ - fix VCPKG_CHAINLOAD_TOOLCHAIN_FILE for ios/freebsd * replace _vcpkg with vcpkg since _ has special meaning in functions * rename functions to vcpkg_internal_meson_generate * update control tool-meson --- scripts/get_cmake_vars/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'scripts/get_cmake_vars') diff --git a/scripts/get_cmake_vars/CMakeLists.txt b/scripts/get_cmake_vars/CMakeLists.txt index 283f4ef87..45a53989b 100644 --- a/scripts/get_cmake_vars/CMakeLists.txt +++ b/scripts/get_cmake_vars/CMakeLists.txt @@ -9,6 +9,10 @@ list(APPEND VCPKG_DEFAULT_VARS_TO_CHECK CMAKE_CROSSCOMPILING CMAKE_HOST_SYSTEM_NAME CMAKE_SYSTEM_PROCESSOR CMAKE_HOST_SYSTEM_PROCESSOR) +if(CMAKE_SYSTEM_NAME MATCHES "Darwin") + list(APPEND VCPKG_DEFAULT_VARS_TO_CHECK CMAKE_OSX_DEPLOYMENT_TARGET + CMAKE_OSX_SYSROOT) +endif() # Programs to check set(PROGLIST AR RANLIB STRIP NM OBJDUMP DLLTOOL MT LINKER) foreach(prog IN LISTS PROGLIST) -- cgit v1.2.3