Commit 2ebc1331 authored by Heng Liu's avatar Heng Liu

fixed the SUITESPARSE finder for macports

parent 32a385c0
Pipeline #11693 passed with stages
in 8 minutes and 5 seconds
......@@ -93,14 +93,9 @@ else( WIN32 )
if( APPLE)
FIND_PATH( CHOLMOD_INCLUDE_DIR cholmod.h
PATHS /opt/local/include/ufsparse )
FIND_LIBRARY(SUITESPARSE_LIBRARY
NAMES libSuiteSparse.dylib
PATHS /opt/local/lib)
message("SUITESPARSE_LIBRARY: ${SUITESPARSE_LIBRARY}")
FIND_PATH( SUITESPARSE_LIBRARY_DIR
NAMES libSuiteSparse.dylib
NAMES libcholmod.dylib
PATHS /opt/local/lib )
message("SUITESPARSE_LIBRARY_DIR: ${SUITESPARSE_LIBRARY_DIR}")
......
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