aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/bootstrap.sh2
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