From 913e6043bbadbc8171f28e2d554cf7d43c0035b0 Mon Sep 17 00:00:00 2001 From: "Adam J. Stewart" Date: Mon, 1 Aug 2022 14:42:36 -0700 Subject: lerc: add libs property (#31684) --- var/spack/repos/builtin/packages/lerc/package.py | 4 ++++ 1 file changed, 4 insertions(+) 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) -- cgit v1.2.3-70-g09d2