asdf-cxx: correct swig dependency details (#20752)

This commit is contained in:
Erik Schnetter 2021-01-11 04:29:55 -05:00 committed by GitHub
parent 53b70451fd
commit 9049829c8e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -42,6 +42,8 @@ class AsdfCxx(CMakePackage):
depends_on('openssl')
depends_on('py-numpy', type=('build', 'run'), when='+python')
depends_on('python', type=('build', 'run'), when='+python')
depends_on('swig', type='build', when='+python')
# An error in the cmake script requires swig all the time, not only when
# Python bindings are used
depends_on('swig @3.0.0:3.999.999', type='build')
depends_on('yaml-cpp')
depends_on('zlib')