diff options
author | Michael F. Herbst <info@michael-herbst.com> | 2017-11-26 05:00:18 +0100 |
---|---|---|
committer | Christoph Junghans <christoph.junghans@gmail.com> | 2017-11-25 21:00:18 -0700 |
commit | 178381edf9720b1edcf7a0fd3c5542b3c7f6bff9 (patch) | |
tree | fc81624eaa763465626088d2c5bdefaeb9d5f8a3 /var | |
parent | 9b5e3434ad03560f04b3914391d04ae34c84658f (diff) | |
download | spack-178381edf9720b1edcf7a0fd3c5542b3c7f6bff9.tar.gz spack-178381edf9720b1edcf7a0fd3c5542b3c7f6bff9.tar.bz2 spack-178381edf9720b1edcf7a0fd3c5542b3c7f6bff9.tar.xz spack-178381edf9720b1edcf7a0fd3c5542b3c7f6bff9.zip |
Implement opencv libs property (#6457)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/opencv/package.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/opencv/package.py b/var/spack/repos/builtin/packages/opencv/package.py index e76f763ffb..c7082bb194 100644 --- a/var/spack/repos/builtin/packages/opencv/package.py +++ b/var/spack/repos/builtin/packages/opencv/package.py @@ -229,3 +229,10 @@ class Opencv(CMakePackage): ]) return args + + @property + def libs(self): + shared = "+shared" in self.spec + return find_libraries( + "libopencv_*", root=self.prefix, shared=shared, recurse=True + ) |