root: determine_variants cxxstd=20 support (#32673)
This is somewhat ahead of reality, but once/when external ROOT installs with cxxstd=20 are common, we will need this to pick up the correct variant.
This commit is contained in:
parent
edee67d96f
commit
7d250c4bea
1 changed files with 2 additions and 0 deletions
|
@ -334,6 +334,8 @@ def determine_variants(cls, exes, version_str):
|
||||||
v.append("cxxstd=14")
|
v.append("cxxstd=14")
|
||||||
elif "cxx17" in f:
|
elif "cxx17" in f:
|
||||||
v.append("cxxstd=17")
|
v.append("cxxstd=17")
|
||||||
|
elif "cxx20" in f:
|
||||||
|
v.append("cxxstd=20")
|
||||||
|
|
||||||
# helper function: check if featurename is in features, and if it is,
|
# helper function: check if featurename is in features, and if it is,
|
||||||
# append variantname to variants. featurename may be a list/tuple, in
|
# append variantname to variants. featurename may be a list/tuple, in
|
||||||
|
|
Loading…
Reference in a new issue