From 8a6c7f375b5561de70008021a54a535c2c30a89f Mon Sep 17 00:00:00 2001 From: Robert Schumacher Date: Mon, 13 May 2019 11:43:24 -0700 Subject: [vcpkg-bootstrap.sh] Enable finding gcc 9 (#6417) --- scripts/bootstrap.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/bootstrap.sh b/scripts/bootstrap.sh index 99d8dab68..00d31760a 100644 --- a/scripts/bootstrap.sh +++ b/scripts/bootstrap.sh @@ -203,7 +203,9 @@ selectCXX() if [ "x$CXX" = "x" ]; then CXX=g++ - if which g++-8 >/dev/null 2>&1; then + if which g++-9 >/dev/null 2>&1; then + CXX=g++-9 + elif which g++-8 >/dev/null 2>&1; then CXX=g++-8 elif which g++-7 >/dev/null 2>&1; then CXX=g++-7 -- cgit v1.2.3