delphes: better specify the dependency on root (#17175)

Compiling delphes with default root cxxstd=11 fails, see e.g. https://sft.its.cern.ch/jira/si/jira.issueviews:issue-html/ROOT-9492/ROOT-9492.html
This commit is contained in:
Wouter Deconinck 2020-06-22 02:31:57 -05:00 committed by GitHub
parent 0b74285a14
commit 3fc963b1f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,7 +39,8 @@ class Delphes(CMakePackage):
version('3.0.5', sha256='ab64ec6d2476fbfa40562e7edb510a8ab4c4fe5be77a4353ebf315c2af181a80')
depends_on('cmake', type='build')
depends_on('root')
depends_on('root cxxstd=14', when='cxxstd=14')
depends_on('root cxxstd=17', when='cxxstd=17')
variant('build_type', default='Release',
description='The build type to build',