Fix conditional dependencies for openCARP (#31478)

This commit is contained in:
Marie Houillon 2022-07-07 16:21:41 +02:00 committed by GitHub
parent 1b919d306f
commit d393260a11
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -14,7 +14,7 @@ class Meshtool(MakefilePackage):
maintainers = ['MarieHouillon']
version('master', branch='master')
version('master', branch='master', preferred=True)
# Version to use with openCARP releases
version('oc10.0', commit='6c5cfbd067120901f15a04bf63beec409bda6dc9')
version('oc9.0', commit='6c5cfbd067120901f15a04bf63beec409bda6dc9')

View File

@ -40,8 +40,8 @@ class Opencarp(CMakePackage):
depends_on('zlib')
depends_on('perl')
depends_on('py-carputils')
depends_on('meshtool')
depends_on('py-carputils', when='+carputils')
depends_on('meshtool', when='+meshtool')
# Use specific versions of carputils and meshtool for releases
for ver in ['10.0', '9.0', '8.2', '7.0', '8.1']:
depends_on('py-carputils@oc' + ver, when='@' + ver + ' +carputils')