Allow find_libraries to accept lists or strings (#3363)

* Allow find_libraries to accept lists or strings

* Convert one more example from list to string
This commit is contained in:
Adam J. Stewart
2017-03-04 11:23:57 -06:00
committed by GitHub
parent 192a4b30f0
commit a2d70a45fb
10 changed files with 30 additions and 28 deletions

View File

@@ -47,9 +47,9 @@ class Armadillo(Package):
depends_on('hdf5', when='+hdf5')
def install(self, spec, prefix):
arpack = find_libraries(['libarpack'], root=spec[
arpack = find_libraries('libarpack', root=spec[
'arpack-ng'].prefix.lib, shared=True)
superlu = find_libraries(['libsuperlu'], root=spec[
superlu = find_libraries('libsuperlu', root=spec[
'superlu'].prefix, shared=False, recurse=True)
cmake_args = [
# ARPACK support