From: maier Date: Tue, 25 Sep 2012 13:19:32 +0000 (+0000) Subject: Bugfix X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1270f15fd19c467329dcb3c67193c004bc216a79;p=dealii-svn.git Bugfix git-svn-id: https://svn.dealii.org/branches/branch_cmake@26722 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/cmake/modules/FindTRILINOS.cmake b/deal.II/cmake/modules/FindTRILINOS.cmake index e0a3263940..f7884e4576 100644 --- a/deal.II/cmake/modules/FindTRILINOS.cmake +++ b/deal.II/cmake/modules/FindTRILINOS.cmake @@ -53,13 +53,13 @@ SET(TRILINOS_INCLUDE_DIRS ${Trilinos_INCLUDE_DIRS}) # So we check again for every lib and store the full path: # FOREACH(library ${Trilinos_LIBRARIES}) - FIND_LIBRARY(TRILINOS_LIBRARY_${macro_library} + FIND_LIBRARY(TRILINOS_LIBRARY_${library} NAMES ${library} HINTS ${Trilinos_LIBRARY_DIRS} ) - MARK_AS_ADVANCED(TRILINOS_LIBRARY_${macro_library}) + MARK_AS_ADVANCED(TRILINOS_LIBRARY_${library}) - LIST(APPEND TRILINOS_LIBRARIES ${TRILINOS_LIBRARY_${macro_library}}) + LIST(APPEND TRILINOS_LIBRARIES ${TRILINOS_LIBRARY_${library}}) ENDFOREACH()