diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/opencv/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/opencv/package.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/opencv/package.py b/var/spack/repos/builtin/packages/opencv/package.py index 0417ae1b4c..a8c4b819bd 100644 --- a/var/spack/repos/builtin/packages/opencv/package.py +++ b/var/spack/repos/builtin/packages/opencv/package.py @@ -105,6 +105,11 @@ class Opencv(CMakePackage): variant('vtk', default=True, description='Activates support for VTK') variant('zlib', default=True, description='Build zlib from source') + # Patch to fix conflict between CUDA and OpenCV (reproduced with 3.3.0 + # and 3.4.1) header file that have the same name.Problem is fixed in + # the current development branch of OpenCV. See #8461 for more information. + patch('dnn_cuda.patch', when='@3.3.0:3.4.1+cuda+dnn') + depends_on('eigen~mpfr', when='+eigen', type='build') depends_on('zlib', when='+zlib') |