Commit d99d3aae authored by Jan Möbius's avatar Jan Möbius
Browse files

More search paths for petsc and slepc for macos

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@7532 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 26dcd39a
......@@ -39,6 +39,7 @@
find_path (PETSC_DIR include/petsc.h
HINTS ENV PETSC_DIR
PATHS /usr/lib/petscdir/3.0.0
/opt/local/lib/petsc
"C:\\libs\\petsc-3.0.0-p6"
DOC "PETSc Directory")
......@@ -268,4 +269,4 @@ else ( NOT WIN32 )
list (APPEND PETSC_LIBRARIES "${PETSC_DIR}/${PETSC_ARCH}/lib/libf2cblas.lib" )
message(STATUS ${PETSC_LIBRARIES})
endif ( NOT WIN32 )
message(STATUS ${PETSC_LIBRARIES})
\ No newline at end of file
message(STATUS ${PETSC_LIBRARIES})
......@@ -9,7 +9,7 @@ FIND_PACKAGE(PETSC)
find_path (SLEPC_INCLUDE_DIR slepc.h
HINTS ENV SLEPC_INCLUDE_DIR
PATHS /usr/lib/slepcdir/3.0.0/include "C:\\libs\\slepc-3.0.0-p4\\include"
PATHS /usr/lib/slepcdir/3.0.0/include /opt/local/lib/petsc "C:\\libs\\slepc-3.0.0-p4\\include"
DOC "SLEPC Include Directory")
IF ( WIN32 )
......@@ -18,7 +18,8 @@ find_library( SLEPC_LIBRARY libslepc.lib
)
ELSE( WIN32 )
find_library( SLEPC_LIBRARY slepc
PATHS /usr/lib
PATHS /usr/lib
/opt/local/lib/petsc/lib
)
ENDIF( WIN32 )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment