diff options
| author | autoantwort <41973254+autoantwort@users.noreply.github.com> | 2021-08-30 19:23:57 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-30 10:23:57 -0700 |
| commit | cda8ba09f330af30f898568ae78ddd0892200185 (patch) | |
| tree | 72efb5bd48b0e4860c8f7da5ce1e44bebffd2e3d /scripts | |
| parent | ae89e7d99f8af5bde4072dcdc2e5afd68b7091c1 (diff) | |
| download | vcpkg-cda8ba09f330af30f898568ae78ddd0892200185.tar.gz vcpkg-cda8ba09f330af30f898568ae78ddd0892200185.zip | |
fix bootstrap.sh on arm macs (#19622)
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/bootstrap.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
