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/coin
9 HINTS ${COIN_ROOT_DIR}/lib
11 FIND_LIBRARY(COIN_CBC_SOLVER_LIBRARY
12 NAMES CbcSolver libCbcSolver
13 HINTS ${COIN_ROOT_DIR}/lib/coin
14 HINTS ${COIN_ROOT_DIR}/lib
16 FIND_LIBRARY(COIN_CGL_LIBRARY
18 HINTS ${COIN_ROOT_DIR}/lib/coin
19 HINTS ${COIN_ROOT_DIR}/lib
21 FIND_LIBRARY(COIN_CLP_LIBRARY
23 HINTS ${COIN_ROOT_DIR}/lib/coin
24 HINTS ${COIN_ROOT_DIR}/lib
26 FIND_LIBRARY(COIN_COIN_UTILS_LIBRARY
27 NAMES CoinUtils libCoinUtils
28 HINTS ${COIN_ROOT_DIR}/lib/coin
29 HINTS ${COIN_ROOT_DIR}/lib
31 FIND_LIBRARY(COIN_OSI_LIBRARY
33 HINTS ${COIN_ROOT_DIR}/lib/coin
34 HINTS ${COIN_ROOT_DIR}/lib
36 FIND_LIBRARY(COIN_OSI_CBC_LIBRARY
37 NAMES OsiCbc libOsiCbc
38 HINTS ${COIN_ROOT_DIR}/lib/coin
39 HINTS ${COIN_ROOT_DIR}/lib
41 FIND_LIBRARY(COIN_OSI_CLP_LIBRARY
42 NAMES OsiClp libOsiClp
43 HINTS ${COIN_ROOT_DIR}/lib/coin
44 HINTS ${COIN_ROOT_DIR}/lib
46 FIND_LIBRARY(COIN_OSI_VOL_LIBRARY
47 NAMES OsiVol libOsiVol
48 HINTS ${COIN_ROOT_DIR}/lib/coin
49 HINTS ${COIN_ROOT_DIR}/lib
51 FIND_LIBRARY(COIN_VOL_LIBRARY
53 HINTS ${COIN_ROOT_DIR}/lib/coin
54 HINTS ${COIN_ROOT_DIR}/lib
57 FIND_LIBRARY(COIN_ZLIB_LIBRARY
59 HINTS ${COIN_ROOT_DIR}/lib/coin
60 HINTS ${COIN_ROOT_DIR}/lib
62 FIND_LIBRARY(COIN_BZ2_LIBRARY
64 HINTS ${COIN_ROOT_DIR}/lib/coin
65 HINTS ${COIN_ROOT_DIR}/lib
68 INCLUDE(FindPackageHandleStandardArgs)
69 FIND_PACKAGE_HANDLE_STANDARD_ARGS(COIN DEFAULT_MSG
72 COIN_CBC_SOLVER_LIBRARY
75 COIN_COIN_UTILS_LIBRARY
79 # COIN_OSI_VOL_LIBRARY
84 SET(COIN_INCLUDE_DIRS ${COIN_INCLUDE_DIR})
85 SET(COIN_CLP_LIBRARIES "${COIN_CLP_LIBRARY};${COIN_COIN_UTILS_LIBRARY};${COIN_ZLIB_LIBRARY};${COIN_BZ2_LIBRARY}")
87 SET(COIN_CLP_LIBRARIES "${COIN_CLP_LIBRARIES};${COIN_ZLIB_LIBRARY}")
88 ENDIF(COIN_ZLIB_LIBRARY)
90 SET(COIN_CLP_LIBRARIES "${COIN_CLP_LIBRARIES};${COIN_BZ2_LIBRARY}")
91 ENDIF(COIN_BZ2_LIBRARY)
92 SET(COIN_CBC_LIBRARIES "${COIN_CBC_LIBRARY};${COIN_CBC_SOLVER_LIBRARY};${COIN_CGL_LIBRARY};${COIN_OSI_LIBRARY};${COIN_OSI_CBC_LIBRARY};${COIN_OSI_CLP_LIBRARY};${COIN_ZLIB_LIBRARY};${COIN_BZ2_LIBRARY};${COIN_CLP_LIBRARIES}")
93 SET(COIN_LIBRARIES ${COIN_CBC_LIBRARIES})
99 COIN_CBC_SOLVER_LIBRARY
102 COIN_COIN_UTILS_LIBRARY
113 SET(LEMON_HAVE_LP TRUE)
114 SET(LEMON_HAVE_MIP TRUE)
115 SET(LEMON_HAVE_CLP TRUE)
116 SET(LEMON_HAVE_CBC TRUE)