acts-core package: build root with cxxstd=17 for 0.8.1 and newer (#14761)

The build fails if root uses an older C++ standard.
This commit is contained in:
Michael Kuhn 2020-02-06 02:45:17 +01:00 committed by GitHub
parent bce4bec059
commit 1a0c31703a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -76,7 +76,7 @@ class ActsCore(CMakePackage):
depends_on('eigen @3.2.9:', type='build')
depends_on('nlohmann-json @3.2.0:', when='@0.14.0: +json')
depends_on('root @6.10: cxxstd=14', when='+tgeo @:0.8.0')
depends_on('root @6.10:', when='+tgeo @0.8.1:')
depends_on('root @6.10: cxxstd=17', when='+tgeo @0.8.1:')
depends_on('dd4hep @1.2:', when='+dd4hep')
def cmake_args(self):