Commit edd30be5 authored by Martin Heistermann's avatar Martin Heistermann

cmake: Support current macports SuiteSparse 5.3.0

SuiteSparse.dylib does not exist anymore, which the finder tried to find
and link aginst.

cf. https://github.com/macports/macports-ports/commit/6e7ed75a61f22bdecdde5a9c81fce7bbded60f2c
parent 7b190e8c
......@@ -89,15 +89,15 @@ if( WIN32 )
else( WIN32 )
IF( APPLE)
FIND_PATH( CHOLMOD_INCLUDE_DIR cholmod.h
PATHS /opt/local/include/ufsparse )
PATHS /opt/local/include
/opt/local/include/ufsparse )
FIND_PATH( SUITESPARSE_LIBRARY_DIR
NAMES libSuiteSparse.dylib
NAMES libcholmod.dylib
PATHS /opt/local/lib )
list ( APPEND SUITESPARSE_LIBRARY_DIRS ${SUITESPARSE_LIBRARY_DIR} )
list ( APPEND SUITESPARSE_LIBRARIES SuiteSparse)
ELSE(APPLE)
FIND_PATH( CHOLMOD_INCLUDE_DIR cholmod.h
......
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