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

Basic slepc finder for windows

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@6447 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 53393fdb
......@@ -9,13 +9,18 @@ FIND_PACKAGE(PETSC)
find_path (SLEPC_INCLUDE_DIR slepc.h
HINTS ENV SLEPC_INCLUDE_DIR
PATHS /usr/lib/slepcdir/3.0.0/include
PATHS /usr/lib/slepcdir/3.0.0/include "C:\\libs\\slepc-3.0.0-p4\\include"
DOC "SLEPC Include Directory")
find_library( SLEPC_LIBRARY slepc
PATHS /usr/lib
IF ( WIN32 )
find_library( SLEPC_LIBRARY libslepc.lib
PATHS "C:\\libs\\slepc-3.0.0-p4\\cygwin-c-opt\\lib"
)
ELSE( WIN32 )
find_library( SLEPC_LIBRARY slepc
PATHS /usr/lib
)
ENDIF( WIN32 )
IF (SLEPC_INCLUDE_DIR AND SLEPC_LIBRARY)
SET(SLEPC_FOUND TRUE)
......
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