Commit c3a9ec35 authored by Max Lyon's avatar Max Lyon
Browse files

try to improve finding of suitesparse

parent 5316868d
Pipeline #10102 passed with stages
in 6 minutes and 55 seconds
...@@ -174,8 +174,9 @@ else( WIN32 ) ...@@ -174,8 +174,9 @@ else( WIN32 )
# Metis and spqr are optional # Metis and spqr are optional
FIND_LIBRARY( SUITESPARSE_METIS_LIBRARY FIND_LIBRARY( SUITESPARSE_METIS_LIBRARY
NAMES metis NAMES coinmetis metis
PATHS ${SUITESPARSE_LIBRARY_DIR} ) PATHS "$ENV{IPOPT_HOME}/lib"
${SUITESPARSE_LIBRARY_DIR} )
if (SUITESPARSE_METIS_LIBRARY) if (SUITESPARSE_METIS_LIBRARY)
list ( APPEND SUITESPARSE_LIBRARIES ${SUITESPARSE_METIS_LIBRARY}) list ( APPEND SUITESPARSE_LIBRARIES ${SUITESPARSE_METIS_LIBRARY})
endif(SUITESPARSE_METIS_LIBRARY) endif(SUITESPARSE_METIS_LIBRARY)
......
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