Skip to content
Snippets Groups Projects
Commit edd30be5 authored by Martin Heistermann's avatar Martin Heistermann
Browse files

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
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment