spglib: fix libs property for some multilib distros (#22956)

on multilib distros with lib/lib64 (rather than lib32/lib) the library ends up in a dir lib64/ instead of lib/, breaking the libs property (and the cp2k+spglib build)
This commit is contained in:
Tiziano Müller 2021-04-13 11:01:15 +02:00 committed by GitHub
parent bff713aeb2
commit 1f1b568e95
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,5 +39,5 @@ class Spglib(CMakePackage):
@property
def libs(self):
return find_libraries(['libsymspg'], root=self.prefix.lib,
recursive=False)
return find_libraries('libsymspg', root=self.prefix,
shared=True, recursive=True)