Port max. card. search alg. from svn -r3512 (#397) and (#56)
1 SET(COIN_ROOT_DIR "" CACHE PATH "COIN root directory")
3 FIND_PATH(COIN_INCLUDE_DIR coin/CoinUtilsConfig.h
4 HINTS ${COIN_ROOT_DIR}/include
6 FIND_LIBRARY(COIN_CBC_LIBRARY
8 HINTS ${COIN_ROOT_DIR}/lib
10 FIND_LIBRARY(COIN_CBC_SOLVER_LIBRARY
11 NAMES CbcSolver libCbcSolver
12 HINTS ${COIN_ROOT_DIR}/lib
14 FIND_LIBRARY(COIN_CGL_LIBRARY
16 HINTS ${COIN_ROOT_DIR}/lib
18 FIND_LIBRARY(COIN_CLP_LIBRARY
20 HINTS ${COIN_ROOT_DIR}/lib
22 FIND_LIBRARY(COIN_COIN_UTILS_LIBRARY
23 NAMES CoinUtils libCoinUtils
24 HINTS ${COIN_ROOT_DIR}/lib
26 FIND_LIBRARY(COIN_OSI_LIBRARY
28 HINTS ${COIN_ROOT_DIR}/lib
30 FIND_LIBRARY(COIN_OSI_CBC_LIBRARY
31 NAMES OsiCbc libOsiCbc
32 HINTS ${COIN_ROOT_DIR}/lib
34 FIND_LIBRARY(COIN_OSI_CLP_LIBRARY
35 NAMES OsiClp libOsiClp
36 HINTS ${COIN_ROOT_DIR}/lib
38 FIND_LIBRARY(COIN_OSI_VOL_LIBRARY
39 NAMES OsiVol libOsiVol
40 HINTS ${COIN_ROOT_DIR}/lib
42 FIND_LIBRARY(COIN_VOL_LIBRARY
44 HINTS ${COIN_ROOT_DIR}/lib
47 INCLUDE(FindPackageHandleStandardArgs)
48 FIND_PACKAGE_HANDLE_STANDARD_ARGS(COIN DEFAULT_MSG
51 COIN_CBC_SOLVER_LIBRARY
54 COIN_COIN_UTILS_LIBRARY
63 SET(COIN_INCLUDE_DIRS ${COIN_INCLUDE_DIR})
64 SET(COIN_LIBRARIES "${COIN_CBC_LIBRARY};${COIN_CBC_SOLVER_LIBRARY};${COIN_CGL_LIBRARY};${COIN_CLP_LIBRARY};${COIN_COIN_UTILS_LIBRARY};${COIN_OSI_LIBRARY};${COIN_OSI_CBC_LIBRARY};${COIN_OSI_CLP_LIBRARY};${COIN_OSI_VOL_LIBRARY};${COIN_VOL_LIBRARY}")
65 SET(COIN_CLP_LIBRARIES "${COIN_CLP_LIBRARY};${COIN_COIN_UTILS_LIBRARY}")
66 SET(COIN_CBC_LIBRARIES ${COIN_LIBRARIES})
72 COIN_CBC_SOLVER_LIBRARY
75 COIN_COIN_UTILS_LIBRARY
84 SET(LEMON_HAVE_LP TRUE)
85 SET(LEMON_HAVE_MIP TRUE)
86 SET(LEMON_HAVE_CLP TRUE)
87 SET(LEMON_HAVE_CBC TRUE)