mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 06:43:11 +08:00
[vcpkg-bootstrap] Update the latest g++-10 version for build if exists (#13644)
This commit is contained in:
parent
c98fd09290
commit
8fcd02ddc1
@ -219,7 +219,9 @@ fetchTool()
|
||||
selectCXX()
|
||||
{
|
||||
if [ "x$CXX" = "x" ]; then
|
||||
if which g++-9 >/dev/null 2>&1; then
|
||||
if which g++-10 >/dev/null 2>&1; then
|
||||
CXX=g++-10
|
||||
elif which g++-9 >/dev/null 2>&1; then
|
||||
CXX=g++-9
|
||||
elif which g++-8 >/dev/null 2>&1; then
|
||||
CXX=g++-8
|
||||
|
Loading…
Reference in New Issue
Block a user