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:
parent
bff713aeb2
commit
1f1b568e95
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user