Commit d6d52763 authored by Jan Möbius's avatar Jan Möbius
Browse files

Added paths for metis finder on mac



git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@14477 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 000ede67
......@@ -14,13 +14,17 @@ find_path(METIS_INCLUDE_DIR NAMES metis.h
PATHS "$ENV{IPOPT_HOME}/ThirdParty/Metis/metis-4.0/Lib/"
"/usr/include/"
"/usr/include/metis"
"/opt/local/include"
"/opt/local/include/metis"
)
find_library( METIS_LIBRARY
metis coinmetis
PATHS "$ENV{IPOPT_HOME}/lib/"
"/usr/lib" )
"/usr/lib"
"/opt/local/lib" )
set(METIS_INCLUDE_DIRS "${METIS_INCLUDE_DIR}" )
set(METIS_LIBRARIES "${METIS_LIBRARY}" )
......@@ -31,4 +35,4 @@ include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(METIS DEFAULT_MSG
METIS_LIBRARY METIS_INCLUDE_DIR)
mark_as_advanced(METIS_INCLUDE_DIR METIS_LIBRARY )
\ No newline at end of file
mark_as_advanced(METIS_INCLUDE_DIR METIS_LIBRARY )
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