this repo has no description
at develop 843 B view raw
1# - Try to find FICO Xpress 2# Once done this will define 3# XPRESS_FOUND - System has FICO Xpress 4# XPRESS_INCLUDE_DIRS - The FICO Xpress include directories 5# User can set Xpress_ROOT to the preferred installation prefix 6 7#TODO: Check default installation locations 8find_path(XPRESS_INCLUDE xprs.h 9 PATHS $ENV{XPRESSDIR} $ENV{XPRESS} $ENV{XPRESS_DIR} 10 HINTS /opt/xpressmp C:/xpressmp /Applications/FICO\ Xpress/xpressmp 11 PATH_SUFFIXES include) 12 13# handle the QUIETLY and REQUIRED arguments and set XPRESS_FOUND to TRUE 14# if all listed variables are TRUE 15find_package_handle_standard_args(Xpress 16 FOUND_VAR XPRESS_FOUND 17 REQUIRED_VARS XPRESS_INCLUDE 18 FAIL_MESSAGE "Could NOT find Xpress, use Xpress_ROOT to hint its location" 19) 20 21mark_as_advanced(XPRESS_INCLUDE) 22 23set(XPRESS_INCLUDE_DIRS ${XPRESS_INCLUDE})