Commit ac7a3a2b authored by David Bommes's avatar David Bommes
Browse files

added standard search paths for dependencies installed with homebrew on Mac M1 architecture

parent e811b6b1
Pipeline #20880 failed with stages
in 12 minutes and 38 seconds
......@@ -32,9 +32,10 @@ endif()
if (NOT CBC_FOUND )
find_path(CBC_INCLUDE_DIR
find_path(CBC_INCLUDE_DIR
NAMES CbcConfig.h
PATHS "$ENV{CBC_DIR}/include/coin"
"/opt/homebrew/include/cbc/coin/" # homebrew default path
"/usr/local/include/cbc/coin/" # homebrew default path
"/usr/include/coin"
"C:\\libs\\cbc\\include"
......@@ -45,6 +46,7 @@ find_path(CBC_INCLUDE_DIR
find_library( CBC_LIBRARY_DEBUG
NAMES Cbcd libCbcd
PATHS "$ENV{CBC_DIR}/lib"
"/opt/homebrew/lib" # homebrew default path
"/usr/local/lib" # homebrew default path
"/usr/lib"
"/usr/lib/coin"
......@@ -56,6 +58,7 @@ find_library( CBC_LIBRARY_DEBUG
find_library( CBC_SOLVER_LIBRARY_DEBUG
NAMES CbcSolverd libCbcSolverd
PATHS "$ENV{CBC_DIR}/lib"
"/opt/homebrew/lib" # homebrew default path
"/usr/local/lib" # homebrew default path
"/usr/lib"
"/usr/lib/coin"
......@@ -67,6 +70,7 @@ find_library( CBC_SOLVER_LIBRARY_DEBUG
find_library( CBC_LIBRARY_RELEASE
NAMES Cbc libCbc
PATHS "$ENV{CBC_DIR}/lib"
"/opt/homebrew/lib" # homebrew default path
"/usr/local/lib" # homebrew default path
"/usr/lib"
"/usr/lib/coin"
......@@ -79,6 +83,7 @@ find_library( CBC_SOLVER_LIBRARY_RELEASE
NAMES CbcSolver libCbcSolver
PATHS "$ENV{CBC_DIR}/lib"
"/opt/homebrew/lib" # homebrew default path
"/usr/local/lib" # homebrew default path
"/usr/lib"
"/usr/lib/coin"
......
......@@ -31,10 +31,11 @@ endif()
if ( NOT CGL_FOUND)
find_path(CGL_INCLUDE_DIR
find_path(CGL_INCLUDE_DIR
NAMES CglConfig.h
PATHS "$ENV{CGL_DIR}/include/coin"
"$ENV{CBC_DIR}/include/coin"
"/opt/homebrew/include/cgl/coin/" # homebrew default path
"/usr/local/include/cgl/coin/" # homebrew default path
"/usr/include/coin"
"C:\\libs\\cgl\\include"
......@@ -43,10 +44,11 @@ find_path(CGL_INCLUDE_DIR
"${VS_SEARCH_PATH}CBC-2.9.4/Cgl/include"
)
find_library( CGL_LIBRARY_DEBUG
find_library( CGL_LIBRARY_DEBUG
NAMES Cgld libCgld
PATHS "$ENV{CGL_DIR}/lib"
"$ENV{CBC_DIR}/lib"
"/opt/homebrew/lib" # homebrew default path
"/usr/local/lib" # homebrew default path
"/usr/lib"
"/usr/lib/coin"
......@@ -55,11 +57,12 @@ find_library( CGL_LIBRARY_DEBUG
"${VS_SEARCH_PATH}CBC-2.9.7/lib/${VS_SUBDIR}Debug"
"${VS_SEARCH_PATH}CBC-2.9.4/Cgl/lib"
)
find_library( CGL_LIBRARY_RELEASE
NAMES Cgl libCgl
PATHS "$ENV{CGL_DIR}/lib"
"$ENV{CBC_DIR}/lib"
"/opt/homebrew/lib" # homebrew default path
"/usr/local/lib" # homebrew default path
"/usr/lib"
"/usr/lib/coin"
......@@ -67,11 +70,11 @@ find_library( CGL_LIBRARY_RELEASE
"C:\\libs\\cbc\\lib"
"${VS_SEARCH_PATH}CBC-2.9.7/lib/${VS_SUBDIR}Release"
"${VS_SEARCH_PATH}CBC-2.9.4/Cgl/lib"
)
)
include(SelectLibraryConfigurations)
select_library_configurations( CGL )
set(CGL_INCLUDE_DIRS "${CGL_INCLUDE_DIR}" )
set(CGL_LIBRARIES "${CGL_LIBRARY}" )
......
......@@ -32,10 +32,11 @@ endif()
if (NOT CLP_FOUND)
find_path(CLP_INCLUDE_DIR
find_path(CLP_INCLUDE_DIR
NAMES ClpConfig.h
PATHS "$ENV{CLP_DIR}/include/coin"
"$ENV{CBC_DIR}/include/coin"
"/opt/homebrew/include/clp/coin" #homebrew default path
"/usr/local/include/clp/coin" #homebrew default path
"/usr/include/coin"
"C:\\libs\\clp\\include"
......@@ -48,6 +49,7 @@ find_library( CLP_LIBRARY_DEBUG
NAMES Clpd libClpd
PATHS "$ENV{CLP_DIR}/lib"
"$ENV{CBC_DIR}/lib"
"/opt/homebrew/lib" # homebrew default path
"/usr/local/lib" # homebrew default path
"/usr/lib"
"/usr/lib/coin"
......@@ -56,11 +58,12 @@ find_library( CLP_LIBRARY_DEBUG
"${VS_SEARCH_PATH}CBC-2.9.7/lib/${VS_SUBDIR}Debug"
"${VS_SEARCH_PATH}CBC-2.9.4/Clp/lib"
)
find_library( CLP_LIBRARY_RELEASE
NAMES Clp libClp
PATHS "$ENV{CLP_DIR}/lib"
"$ENV{CBC_DIR}/lib"
"/opt/homebrew/lib" # homebrew default path
"/usr/local/lib" # homebrew default path
"/usr/lib"
"/usr/lib/coin"
......@@ -68,7 +71,7 @@ find_library( CLP_LIBRARY_RELEASE
"C:\\libs\\cbc\\lib"
"${VS_SEARCH_PATH}CBC-2.9.7/lib/${VS_SUBDIR}Release"
"${VS_SEARCH_PATH}CBC-2.9.4/Clp/lib"
)
)
include(SelectLibraryConfigurations)
select_library_configurations( CLP )
......
......@@ -31,10 +31,11 @@ endif()
if ( NOT COINUTILS_FOUND )
find_path(COINUTILS_INCLUDE_DIR
find_path(COINUTILS_INCLUDE_DIR
NAMES CoinUtilsConfig.h
PATHS "$ENV{COINUTILS_DIR}/include/coin"
"$ENV{CBC_DIR}/include/coin"
"/opt/homebrew/include/coinutils/coin/" # homebrew default path
"/usr/local/include/coinutils/coin/" # homebrew default path
"/usr/include/coin"
"C:\\libs\\coinutils\\include"
......@@ -47,6 +48,7 @@ find_library( COINUTILS_LIBRARY_DEBUG
NAMES CoinUtilsd libCoinUtilsd
PATHS "$ENV{COINUTILS_DIR}/lib"
"$ENV{CBC_DIR}/lib"
"/opt/homebrew/lib" # homebrew default path
"/usr/local/lib" # homebrew default path
"/usr/lib"
"/usr/lib/coin"
......@@ -55,11 +57,12 @@ find_library( COINUTILS_LIBRARY_DEBUG
"${VS_SEARCH_PATH}CBC-2.9.7/lib/${VS_SUBDIR}Debug"
"${VS_SEARCH_PATH}CBC-2.9.4/CoinUtils/lib"
)
find_library( COINUTILS_LIBRARY_RELEASE
NAMES CoinUtils libCoinUtils
PATHS "$ENV{COINUTILS_DIR}/lib"
"$ENV{CBC_DIR}/lib"
"/opt/homebrew/lib" # homebrew default path
"/usr/local/lib" # homebrew default path
"/usr/lib"
"/usr/lib/coin"
......@@ -67,8 +70,8 @@ find_library( COINUTILS_LIBRARY_RELEASE
"C:\\libs\\cbc\\lib"
"${VS_SEARCH_PATH}CBC-2.9.7/lib/${VS_SUBDIR}Release"
"${VS_SEARCH_PATH}CBC-2.9.4/CoinUtils/lib"
)
)
include(SelectLibraryConfigurations)
select_library_configurations( COINUTILS )
......
......@@ -42,7 +42,7 @@ if (WIN32)
elseif ( CMAKE_GENERATOR MATCHES "^Visual Studio 15.*" )
SET(VS_SEARCH_PATH "${CMAKE_WINDOWS_LIBS_DIR}/vs2017/x32/")
endif()
find_path(IPOPT_INCLUDE_DIR NAMES IpNLP.hpp
PATHS
"${VS_SEARCH_PATH}Ipopt-3.12.9/include/coin"
......@@ -53,26 +53,26 @@ if (WIN32)
)
IF(IPOPT_INCLUDE_DIR)
find_library( IPOPT_LIBRARY_RELEASE
find_library( IPOPT_LIBRARY_RELEASE
Ipopt ipopt libipopt IpOpt-vc10
PATHS "C:\\libs\\Ipopt-3.8.2\\lib\\win32\\release"
PATHS "C:\\libs\\Ipopt-3.8.2\\lib\\win32\\release"
"${VS_SEARCH_PATH}Ipopt-3.12.9/lib"
"${VS_SEARCH_PATH}Ipopt-3.12.4/Ipopt/MSVisualStudio/v8-ifort/installed/lib"
"${VS_SEARCH_PATH}Ipopt-3.11.9/Ipopt/MSVisualStudio/v8-ifort/installed/lib"
)
find_library( IPOPT_LIBRARY_DEBUG
Ipopt ipoptd libipoptd IpOpt-vc10d
PATHS "C:\\libs\\Ipopt-3.8.2\\lib\\win32\\debug"
PATHS "C:\\libs\\Ipopt-3.8.2\\lib\\win32\\debug"
"${VS_SEARCH_PATH}Ipopt-3.12.9/lib"
"${VS_SEARCH_PATH}Ipopt-3.12.4/Ipopt/MSVisualStudio/v8-ifort/installed/lib"
"${VS_SEARCH_PATH}Ipopt-3.11.9/Ipopt/MSVisualStudio/v8-ifort/installed/lib"
)
set ( IPOPT_LIBRARY "optimized;${IPOPT_LIBRARY_RELEASE};debug;${IPOPT_LIBRARY_DEBUG}" CACHE STRING "IPOPT Libraries" )
GET_FILENAME_COMPONENT(IPOPT_LIBRARY_DIR ${IPOPT_LIBRARY_RELEASE} PATH )
MARK_AS_ADVANCED(IPOPT_LIBRARY_DIR)
SET(IPOPT_FOUND TRUE)
SET(IPOPT_INCLUDE_DIRS ${IPOPT_INCLUDE_DIR})
......@@ -88,25 +88,27 @@ if (WIN32)
ELSE( WIN32 )
find_path(IPOPT_INCLUDE_DIR NAMES IpNLP.hpp
PATHS "$ENV{IPOPT_HOME}/include/coin"
"/opt/homebrew/include/coin-or" # homebrew M1 default path
"/usr/local/include/coin-or" # homebrew default path
"/usr/include/coin"
"~/sw/Ipopt-3.12.4-installed/include/coin"
)
find_library( IPOPT_LIBRARY
find_library( IPOPT_LIBRARY
ipopt
HINTS "$ENV{IPOPT_HOME}/lib"
PATHS
"/usr/lib"
"/opt/homebrew/lib"
"~/sw/Ipopt-3.12.4-installed/lib"
)
#wrong config under Debian workaround
add_definitions( -DHAVE_CSTDDEF )
# set optional path to HSL Solver for dynamic usage
find_path(IPOPT_HSL_LIBRARY_DIR
find_path(IPOPT_HSL_LIBRARY_DIR
NAMES libhsl.so
libhsl.dylib
HINTS "$ENV{IPOPT_HSL_LIBRARY_PATH}"
......@@ -114,13 +116,13 @@ ELSE( WIN32 )
)
# find HSL library for fixed linking of solvers
find_library( IPOPT_HSL_LIBRARY
find_library( IPOPT_HSL_LIBRARY
coinhsl hsl
HINTS "$ENV{IPOPT_HSL_LIBRARY_PATH}"
"$ENV{IPOPT_HOME}/lib"
PATHS "/usr/lib" )
set(IPOPT_LIBRARY_DIRS "${IPOPT_LIBRARY_DIR}" )
set(IPOPT_INCLUDE_DIRS "${IPOPT_INCLUDE_DIR}" )
set(IPOPT_LIBRARIES "${IPOPT_LIBRARY}" )
......@@ -131,11 +133,11 @@ ELSE( WIN32 )
ENDIF()
LIST( APPEND IPOPT_LIBRARY_DIRS "${IPOPT_HSL_LIBRARY_DIR}")
ENDIF(IPOPT_HSL_LIBRARY_DIR)
IF(IPOPT_HSL_LIBRARY)
LIST( APPEND IPOPT_LIBRARIES "${IPOPT_HSL_LIBRARY}")
LIST( APPEND IPOPT_LIBRARIES "${IPOPT_HSL_LIBRARY}")
ENDIF(IPOPT_HSL_LIBRARY)
include(FindPackageHandleStandardArgs)
......@@ -145,5 +147,5 @@ ELSE( WIN32 )
IPOPT_LIBRARY IPOPT_INCLUDE_DIR)
mark_as_advanced(IPOPT_INCLUDE_DIR IPOPT_LIBRARY )
ENDIF()
......@@ -34,7 +34,7 @@ elseif ( CMAKE_GENERATOR MATCHES "^Visual Studio 15.*" )
SET(VS_SEARCH_PATH "${CMAKE_WINDOWS_LIBS_DIR}/vs2017/x32/")
endif()
find_path(MUMPS_INCLUDE_DIR
find_path(MUMPS_INCLUDE_DIR
NAMES mumps.h dmumps_c.h
HINTS "$ENV{IPOPT_HOME}/ThirdParty/Mumps/MUMPS/include/"
"$ENV{IPOPT_HOME}/include/coin/ThirdParty"
......@@ -42,26 +42,28 @@ find_path(MUMPS_INCLUDE_DIR
"${VS_SEARCH_PATH}Ipopt-3.12.9/include/mumps"
"${VS_SEARCH_PATH}Ipopt-3.12.4/Ipopt/MSVisualStudio/v8-ifort/installed/include/mumps"
)
find_library( MUMPS_LIBRARY_DEBUG
coinmumpsd dmumpsd coinmumpscd
HINTS "$ENV{IPOPT_HOME}/lib/"
"/usr/lib"
"/opt/homebrew/lib"
"${VS_SEARCH_PATH}Ipopt-3.12.9/lib"
"${VS_SEARCH_PATH}Ipopt-3.12.4/Ipopt/MSVisualStudio/v8-ifort/installed/lib"
)
find_library( MUMPS_LIBRARY_RELEASE
coinmumps dmumps coinmumpsc
HINTS "$ENV{IPOPT_HOME}/lib/"
"/usr/lib"
"/opt/homebrew/lib"
"${VS_SEARCH_PATH}Ipopt-3.12.9/lib"
"${VS_SEARCH_PATH}Ipopt-3.12.4/Ipopt/MSVisualStudio/v8-ifort/installed/lib"
)
)
include(SelectLibraryConfigurations)
select_library_configurations( MUMPS )
select_library_configurations( MUMPS )
set(MUMPS_INCLUDE_DIRS "${MUMPS_INCLUDE_DIR}" )
set(MUMPS_LIBRARIES "${MUMPS_LIBRARY}" )
......
......@@ -31,11 +31,12 @@ endif()
if (NOT OSI_FOUND )
find_path(OSI_INCLUDE_DIR
find_path(OSI_INCLUDE_DIR
NAMES OsiConfig.h
PATH_SUFFIXES "Osi"
PATHS "$ENV{OSI_DIR}/include/coin"
"$ENV{CBC_DIR}/include/coin"
"/opt/homebrew/include/osi/coin" # homebrew default path
"/usr/local/include/osi/coin" # homebrew default path
"/usr/include/coin"
"C:\\libs\\osi\\include"
......@@ -44,10 +45,11 @@ find_path(OSI_INCLUDE_DIR
"${VS_SEARCH_PATH}CBC-2.9.4/Osi/include"
)
find_library( OSI_LIBRARY_DEBUG
find_library( OSI_LIBRARY_DEBUG
NAMES Osid libOsid
PATHS "$ENV{OSI_DIR}/lib"
"$ENV{CBC_DIR}/lib"
"$ENV{CBC_DIR}/lib"
"/opt/homebrew/lib"
"/usr/lib"
"/usr/lib/coin"
"C:\\libs\\OSI\\lib"
......@@ -55,23 +57,25 @@ find_library( OSI_LIBRARY_DEBUG
"${VS_SEARCH_PATH}CBC-2.9.7/lib/${VS_SUBDIR}Debug"
"${VS_SEARCH_PATH}CBC-2.9.4/Osi/lib"
)
find_library( OSI_LIBRARY_RELEASE
find_library( OSI_LIBRARY_RELEASE
NAMES Osi libOsi
PATHS "$ENV{OSI_DIR}/lib"
"$ENV{CBC_DIR}/lib"
"$ENV{CBC_DIR}/lib"
"/opt/homebrew/lib"
"/usr/lib"
"/usr/lib/coin"
"C:\\libs\\OSI\\lib"
"C:\\libs\\cbc\\lib"
"${VS_SEARCH_PATH}CBC-2.9.7/lib/${VS_SUBDIR}Release"
"${VS_SEARCH_PATH}CBC-2.9.4/Osi/lib"
)
)
find_library( OSI_CBC_LIBRARY_DEBUG
find_library( OSI_CBC_LIBRARY_DEBUG
NAMES OsiCbcd libOsiCbcd
PATHS "$ENV{OSI_DIR}/lib"
"$ENV{CBC_DIR}/lib"
"$ENV{CBC_DIR}/lib"
"/opt/homebrew/lib"
"/usr/lib"
"/usr/lib/coin"
"C:\\libs\\OSI\\lib"
......@@ -79,23 +83,25 @@ find_library( OSI_CBC_LIBRARY_DEBUG
"${VS_SEARCH_PATH}CBC-2.9.7/lib/${VS_SUBDIR}Debug"
"${VS_SEARCH_PATH}CBC-2.9.4/Osi/lib"
)
find_library( OSI_CBC_LIBRARY_RELEASE
NAMES OsiCbc libOsiCbc
PATHS "$ENV{OSI_DIR}/lib"
"$ENV{CBC_DIR}/lib"
"$ENV{CBC_DIR}/lib"
"/opt/homebrew/lib"
"/usr/lib"
"/usr/lib/coin"
"C:\\libs\\OSI\\lib"
"C:\\libs\\cbc\\lib"
"${VS_SEARCH_PATH}CBC-2.9.7/lib/${VS_SUBDIR}Release"
"${VS_SEARCH_PATH}CBC-2.9.4/Osi/lib"
)
)
find_library( OSI_CLP_LIBRARY_DEBUG
find_library( OSI_CLP_LIBRARY_DEBUG
NAMES OsiClpd libOsiClpd
PATHS "$ENV{OSI_DIR}/lib"
"$ENV{CBC_DIR}/lib"
"$ENV{CBC_DIR}/lib"
"/opt/homebrew/lib"
"/usr/lib"
"/usr/lib/coin"
"C:\\libs\\OSI\\lib"
......@@ -103,30 +109,31 @@ find_library( OSI_CLP_LIBRARY_DEBUG
"${VS_SEARCH_PATH}CBC-2.9.7/lib/${VS_SUBDIR}Debug"
"${VS_SEARCH_PATH}CBC-2.9.4/Osi/lib"
)
find_library( OSI_CLP_LIBRARY_RELEASE
NAMES OsiClp libOsiClp
PATHS "$ENV{OSI_DIR}/lib"
"$ENV{CBC_DIR}/lib"
"$ENV{CBC_DIR}/lib"
"/opt/homebrew/lib"
"/usr/lib"
"/usr/lib/coin"
"C:\\libs\\OSI\\lib"
"C:\\libs\\cbc\\lib"
"${VS_SEARCH_PATH}CBC-2.9.7/lib/${VS_SUBDIR}Release"
"${VS_SEARCH_PATH}CBC-2.9.4/Osi/lib"
)
)
include(SelectLibraryConfigurations)
select_library_configurations( OSI )
select_library_configurations( OSI_CBC )
select_library_configurations( OSI_CLP )
select_library_configurations( OSI )
select_library_configurations( OSI_CBC )
select_library_configurations( OSI_CLP )
set(OSI_INCLUDE_DIRS "${OSI_INCLUDE_DIR}" )
set(OSI_LIBRARIES "${OSI_LIBRARIES};${OSI_CBC_LIBRARIES};${OSI_CLP_LIBRARIES}" )
......
# - Try to find SUITESPARSE
# Once done this will define
#
#
# SUITESPARSE_FOUND - system has SUITESPARSE
# SUITESPARSE_INCLUDE_DIRS - the SUITESPARSE include directory
# SUITESPARSE_LIBRARIES - Link these to use SUITESPARSE
......@@ -93,12 +93,14 @@ else( WIN32 )
if( APPLE)
FIND_PATH( CHOLMOD_INCLUDE_DIR cholmod.h
PATHS /opt/local/include/ufsparse
/opt/homebrew/include
/usr/local/include )
FIND_LIBRARY(SUITESPARSE_LIBRARY
NAMES libSuiteSparse.dylib
libsuitesparseconfig.dylib
PATHS /opt/local/lib
/opt/homebrew/lib
/usr/local/lib)
message("SUITESPARSE_LIBRARY: ${SUITESPARSE_LIBRARY}")
......@@ -106,6 +108,7 @@ else( WIN32 )
NAMES libSuiteSparse.dylib
libsuitesparseconfig.dylib
PATHS /opt/local/lib
/opt/homebrew/lib
/usr/local/lib)
message("SUITESPARSE_LIBRARY_DIR: ${SUITESPARSE_LIBRARY_DIR}")
......@@ -141,36 +144,36 @@ else( WIN32 )
# if we found the library, add it to the defined libraries
if ( SUITESPARSE_LIBRARY_DIR )
FIND_LIBRARY(SUITESPARSE_AMD_LIBRARY
FIND_LIBRARY(SUITESPARSE_AMD_LIBRARY
NAMES amd
PATHS ${SUITESPARSE_LIBRARY_DIR})
list ( APPEND SUITESPARSE_LIBRARIES ${SUITESPARSE_AMD_LIBRARY})
FIND_LIBRARY(SUITESPARSE_CAMD_LIBRARY
FIND_LIBRARY(SUITESPARSE_CAMD_LIBRARY
NAMES camd
PATHS ${SUITESPARSE_LIBRARY_DIR})
list ( APPEND SUITESPARSE_LIBRARIES ${SUITESPARSE_CAMD_LIBRARY})
FIND_LIBRARY(SUITESPARSE_CCOLAMD_LIBRARY
FIND_LIBRARY(SUITESPARSE_CCOLAMD_LIBRARY
NAMES ccolamd
PATHS ${SUITESPARSE_LIBRARY_DIR})
list ( APPEND SUITESPARSE_LIBRARIES ${SUITESPARSE_CCOLAMD_LIBRARY})
FIND_LIBRARY(SUITESPARSE_CHOLMOD_LIBRARY
FIND_LIBRARY(SUITESPARSE_CHOLMOD_LIBRARY
NAMES cholmod
PATHS ${SUITESPARSE_LIBRARY_DIR})
list ( APPEND SUITESPARSE_LIBRARIES ${SUITESPARSE_CHOLMOD_LIBRARY})
FIND_LIBRARY(SUITESPARSE_COLAMD_LIBRARY
NAMES cholmod
NAMES cholmod
PATHS ${SUITESPARSE_LIBRARY_DIR})
list ( APPEND SUITESPARSE_LIBRARIES ${SUITESPARSE_COLAMD_LIBRARY})
FIND_LIBRARY(SUITESPARSE_CXSPARSE_LIBRARY
NAMES cxsparse
NAMES cxsparse
PATHS ${SUITESPARSE_LIBRARY_DIR})
list ( APPEND SUITESPARSE_LIBRARIES ${SUITESPARSE_CXSPARSE_LIBRARY})
FIND_LIBRARY(SUITESPARSE_KLU_LIBRARY
NAMES klu
NAMES klu
PATHS ${SUITESPARSE_LIBRARY_DIR})
list ( APPEND SUITESPARSE_LIBRARIES ${SUITESPARSE_KLU_LIBRARY})
FIND_LIBRARY(SUITESPARSE_UMFPACK_LIBRARY
NAMES umfpack
NAMES umfpack
PATHS ${SUITESPARSE_LIBRARY_DIR})
list ( APPEND SUITESPARSE_LIBRARIES ${SUITESPARSE_UMFPACK_LIBRARY})
......@@ -213,4 +216,3 @@ if (SUITESPARSE_LIBRARY_DIR AND SUITESPARSE_LIBRARIES)
else (SUITESPARSE_LIBRARY_DIR AND SUITESPARSE_LIBRARIES)
SET( SUITESPARSE_FOUND FALSE )
endif (SUITESPARSE_LIBRARY_DIR AND SUITESPARSE_LIBRARIES)
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