mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 06:59:07 +08:00
[bootstrap-vcpkg] Add g++-11 support (#17633)
This commit is contained in:
parent
a454cf6e00
commit
c8729e1900
@ -219,7 +219,9 @@ fetchTool()
|
||||
selectCXX()
|
||||
{
|
||||
if [ "x$CXX" = "x" ]; then
|
||||
if which g++-10 >/dev/null 2>&1; then
|
||||
if which g++-11 >/dev/null 2>&1; then
|
||||
CXX=g++-11
|
||||
elif which g++-10 >/dev/null 2>&1; then
|
||||
CXX=g++-10
|
||||
elif which g++-9 >/dev/null 2>&1; then
|
||||
CXX=g++-9
|
||||
|
Loading…
Reference in New Issue
Block a user