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:
		| @@ -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) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Tiziano Müller
					Tiziano Müller