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

Fixed suitesparse finder for mac



git-svn-id: http://www.openflipper.org/svnrepo/CoMISo/trunk@152 1355f012-dd97-4b2f-ae87-10fa9f823a57
parent 981188f8
...@@ -19,7 +19,8 @@ if( WIN32 ) ...@@ -19,7 +19,8 @@ if( WIN32 )
# Find cholmod part of the suitesparse library collection # Find cholmod part of the suitesparse library collection
FIND_PATH( CHOLMOD_INCLUDE_DIR cholmod.h FIND_PATH( CHOLMOD_INCLUDE_DIR cholmod.h
PATHS "C:\\libs\\win32\\SuiteSparse\\Include" ) PATHS
"C:\\libs\\win32\\SuiteSparse\\Include" )
# Add cholmod include directory to collection include directories # Add cholmod include directory to collection include directories
IF ( CHOLMOD_INCLUDE_DIR ) IF ( CHOLMOD_INCLUDE_DIR )
...@@ -42,7 +43,7 @@ else( WIN32 ) ...@@ -42,7 +43,7 @@ else( WIN32 )
FIND_PATH( CHOLMOD_INCLUDE_DIR cholmod.h FIND_PATH( CHOLMOD_INCLUDE_DIR cholmod.h
PATHS /opt/local/include/ufsparse ) PATHS /opt/local/include/ufsparse )
FIND_PATH( SUITESPARSE_LIBRARY_DIRS FIND_PATH( SUITESPARSE_LIBRARY_DIR
NAMES libcholmod.a NAMES libcholmod.a
PATHS /opt/local/lib ) PATHS /opt/local/lib )
......
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