diff options
author | Adam J. Stewart <ajstewart426@gmail.com> | 2020-01-04 16:46:53 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-04 16:46:53 -0600 |
commit | 90f48604027a309c8b7704918e15f45610e1634e (patch) | |
tree | c75a1c6974bbdb5b4dd2899e71b4b1f056fb2dfe | |
parent | 4d85979ec45970f0d7c83f11a873df65f05fecaa (diff) | |
download | spack-90f48604027a309c8b7704918e15f45610e1634e.tar.gz spack-90f48604027a309c8b7704918e15f45610e1634e.tar.bz2 spack-90f48604027a309c8b7704918e15f45610e1634e.tar.xz spack-90f48604027a309c8b7704918e15f45610e1634e.zip |
Add libs property to openjpeg package (#14383)
-rw-r--r-- | var/spack/repos/builtin/packages/openjpeg/package.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/openjpeg/package.py b/var/spack/repos/builtin/packages/openjpeg/package.py index 6b72168177..c451758ef0 100644 --- a/var/spack/repos/builtin/packages/openjpeg/package.py +++ b/var/spack/repos/builtin/packages/openjpeg/package.py @@ -50,3 +50,8 @@ class Openjpeg(CMakePackage): 'https://github.com/uclouvain/openjpeg/archive/version.{0}.tar.gz' return url_fmt.format(version) + + @property + def libs(self): + return find_libraries('libopenjp{0}'.format(self.version.up_to(1)), + root=self.prefix, recursive=True) |