summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2022-08-01 14:42:36 -0700
committerHarmen Stoppels <harmenstoppels@gmail.com>2022-08-17 13:57:13 +0200
commit913e6043bbadbc8171f28e2d554cf7d43c0035b0 (patch)
treea8a98aa9ac03e32e237aa2c84d84775ae3737f91
parent0c314caa37010a02a42d8f0172ed15c3492629cf (diff)
downloadspack-913e6043bbadbc8171f28e2d554cf7d43c0035b0.tar.gz
spack-913e6043bbadbc8171f28e2d554cf7d43c0035b0.tar.bz2
spack-913e6043bbadbc8171f28e2d554cf7d43c0035b0.tar.xz
spack-913e6043bbadbc8171f28e2d554cf7d43c0035b0.zip
lerc: add libs property (#31684)
-rw-r--r--var/spack/repos/builtin/packages/lerc/package.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/lerc/package.py b/var/spack/repos/builtin/packages/lerc/package.py
index 92b788dd28..89e92147dc 100644
--- a/var/spack/repos/builtin/packages/lerc/package.py
+++ b/var/spack/repos/builtin/packages/lerc/package.py
@@ -20,3 +20,7 @@ class Lerc(CMakePackage):
version("3.0", sha256="8c0148f5c22d823eff7b2c999b0781f8095e49a7d3195f13c68c5541dd5740a1")
depends_on("cmake@3.11:", type="build")
+
+ @property
+ def libs(self):
+ return find_libraries(["libLerc"], root=self.prefix, recursive=True)