]> https://gitweb.dealii.org/ - dealii.git/commitdiff
corrected cmake scripts so that they are capable of finding existing PETSC and SLEPC...
authoralex <kokomovalex@gmail.com>
Sat, 25 Feb 2017 15:59:36 +0000 (18:59 +0300)
committerMatthias Maier <tamiko@43-1.org>
Fri, 3 Mar 2017 18:15:19 +0000 (12:15 -0600)
Signed-off-by: Matthias Maier <tamiko@43-1.org>
cmake/modules/FindPETSC.cmake
cmake/modules/FindSLEPC.cmake

index cc4eb3678b54653f8293be0912a3d84bc03724e6..d71ad80d035660fc1ba0c474928afef4d8f760ad 100644 (file)
@@ -38,7 +38,7 @@ SET_IF_EMPTY(PETSC_DIR "$ENV{PETSC_DIR}")
 SET_IF_EMPTY(PETSC_ARCH "$ENV{PETSC_ARCH}")
 
 DEAL_II_FIND_LIBRARY(PETSC_LIBRARY
-  NAMES petsc
+  NAMES petsc libpetsc
   HINTS ${PETSC_DIR} ${PETSC_DIR}/${PETSC_ARCH}
   PATH_SUFFIXES lib${LIB_SUFFIX} lib64 lib
   )
index 2df9257468d5ce281f70e0593f2005f589302f6d..d4420c419df28893699fdafeb52b8cc4b75d5f28 100644 (file)
@@ -39,7 +39,7 @@ SET_IF_EMPTY(PETSC_ARCH "$ENV{PETSC_ARCH}")
 #
 
 DEAL_II_FIND_LIBRARY(SLEPC_LIBRARY
-  NAMES slepc
+  NAMES slepc libslepc
   HINTS ${SLEPC_DIR} ${SLEPC_DIR}/${PETSC_ARCH} ${PETSC_DIR}
   PATH_SUFFIXES lib${LIB_SUFFIX} lib64 lib
 )

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.