[bootstrap-vcpkg.sh] Find g++-8. Fixes #3486.

This commit is contained in:
Robert Schumacher 2018-05-15 20:57:10 -07:00
parent 87e7728ff3
commit 8ce9265485

View File

@ -157,7 +157,9 @@ selectCXX()
if [ "x$CXX" = "x" ]; then
CXX=g++
if which g++-7 >/dev/null 2>&1; then
if which g++-8 >/dev/null 2>&1; then
CXX=g++-8
elif which g++-7 >/dev/null 2>&1; then
CXX=g++-7
elif which g++-6 >/dev/null 2>&1; then
CXX=g++-6