diff options
| author | Robert Schumacher <roschuma@microsoft.com> | 2018-05-15 20:57:10 -0700 |
|---|---|---|
| committer | Robert Schumacher <roschuma@microsoft.com> | 2018-05-15 21:42:58 -0700 |
| commit | 8ce92654856897d5da7649ecea5d28818f3bcadd (patch) | |
| tree | aa2e6e8e8eee357a5387a3b98331b19088a5ccbf /scripts | |
| parent | 87e7728ff34f726044c95657bcebd39a7d71c796 (diff) | |
| download | vcpkg-8ce92654856897d5da7649ecea5d28818f3bcadd.tar.gz vcpkg-8ce92654856897d5da7649ecea5d28818f3bcadd.zip | |
[bootstrap-vcpkg.sh] Find g++-8. Fixes #3486.
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/bootstrap.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/bootstrap.sh b/scripts/bootstrap.sh index 037a9136d..8a4c92936 100644 --- a/scripts/bootstrap.sh +++ b/scripts/bootstrap.sh @@ -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 |
