From cda8ba09f330af30f898568ae78ddd0892200185 Mon Sep 17 00:00:00 2001 From: autoantwort <41973254+autoantwort@users.noreply.github.com> Date: Mon, 30 Aug 2021 19:23:57 +0200 Subject: fix bootstrap.sh on arm macs (#19622) --- scripts/bootstrap.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/bootstrap.sh b/scripts/bootstrap.sh index a20fcb392..a7d1b1650 100644 --- a/scripts/bootstrap.sh +++ b/scripts/bootstrap.sh @@ -268,7 +268,7 @@ else fetchTool "ninja" "$UNAME" ninjaExe || exit 1 fi if [ "$os" = "osx" ]; then - if [ "$vcpkgAllowAppleClang" = "true" ] ; then + if [ "$vcpkgAllowAppleClang" = "true" ] || [[ $(sw_vers -productVersion | awk -F '.' '{print $1}') -ge 11 ]]; then CXX=clang++ else selectCXX -- cgit v1.2.3