summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/asdf-cxx/package.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/asdf-cxx/package.py b/var/spack/repos/builtin/packages/asdf-cxx/package.py
index b30a82d8c7..ffb871ad32 100644
--- a/var/spack/repos/builtin/packages/asdf-cxx/package.py
+++ b/var/spack/repos/builtin/packages/asdf-cxx/package.py
@@ -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')