libkml: add libs property (#31299)

This commit is contained in:
Adam J. Stewart 2022-06-28 00:33:23 -07:00 committed by GitHub
parent 662d5066f1
commit 24a03e5a50
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,6 +37,10 @@ class Libkml(CMakePackage):
depends_on('swig', when='+java', type='build') depends_on('swig', when='+java', type='build')
depends_on('swig', when='+python', type='build') depends_on('swig', when='+python', type='build')
@property
def libs(self):
return find_libraries('libkmlbase', root=self.prefix, recursive=True)
def cmake_args(self): def cmake_args(self):
spec = self.spec spec = self.spec