Commit 94f0e62b authored by David Bommes's avatar David Bommes
Browse files

corrected ArpackFinder for Fedora

git-svn-id: http://www.openflipper.org/svnrepo/CoMISo/trunk@126 1355f012-dd97-4b2f-ae87-10fa9f823a57
parent 26c73dab
......@@ -8,9 +8,9 @@
# ARPACK_LIBRARIES - Link this to use ARPACK together with ARPACK++
find_path (ARPACK_INCLUDE_DIR NAMES arpack++/argeig.h
find_path (ARPACK_INCLUDE_DIR NAMES argeig.h
HINTS ENV ARPACK_INCLUDE_DIR
PATHS /usr/include/arpack++ "C:\\libs\\arpack++\\include"
PATHS /usr/include/arpack++ $ENV{HOME}/opt/arpack++/include "C:\\libs\\arpack++\\include"
DOC "ARPACK Include Directory")
IF ( WIN32 )
......@@ -18,15 +18,18 @@ find_library( ARPACK_LIBRARY arpack.lib
PATHS "C:\\libs\\arpack++\\lib"
)
ELSE( WIN32 )
find_library( ARPACK_LIBRARY arpack arpack++
PATHS /usr/lib
find_library( ARPACK_LIBRARY arpack
PATHS /usr/lib /usr/lib64
)
find_library( ARPACKpp_LIBRARY arpack++
PATHS /usr/lib
PATHS /usr/lib /usr/lib64
)
list( APPEND ARPACK_LIBRARIES ${ARPACK_LIBRARY} )
list( APPEND ARPACK_LIBRARIES ${ARPACKpp_LIBRARY} )
IF(ARPACKpp_LIBRARY)
list( APPEND ARPACK_LIBRARIES ${ARPACKpp_LIBRARY} )
ENDIF(ARPACKpp_LIBRARY)
ENDIF( WIN32 )
IF (ARPACK_INCLUDE_DIR AND ARPACK_LIBRARY)
......
Supports Markdown
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