... | ... |
@@ -20,79 +20,79 @@ |
20 | 20 |
) |
21 | 21 |
FIND_LIBRARY(COIN_CLP_LIBRARY |
22 | 22 |
NAMES Clp libClp |
23 | 23 |
HINTS ${COIN_ROOT_DIR}/lib/coin |
24 | 24 |
HINTS ${COIN_ROOT_DIR}/lib |
25 | 25 |
) |
26 | 26 |
FIND_LIBRARY(COIN_COIN_UTILS_LIBRARY |
27 | 27 |
NAMES CoinUtils libCoinUtils |
28 | 28 |
HINTS ${COIN_ROOT_DIR}/lib/coin |
29 | 29 |
HINTS ${COIN_ROOT_DIR}/lib |
30 | 30 |
) |
31 | 31 |
FIND_LIBRARY(COIN_OSI_LIBRARY |
32 | 32 |
NAMES Osi libOsi |
33 | 33 |
HINTS ${COIN_ROOT_DIR}/lib/coin |
34 | 34 |
HINTS ${COIN_ROOT_DIR}/lib |
35 | 35 |
) |
36 | 36 |
FIND_LIBRARY(COIN_OSI_CBC_LIBRARY |
37 | 37 |
NAMES OsiCbc libOsiCbc |
38 | 38 |
HINTS ${COIN_ROOT_DIR}/lib/coin |
39 | 39 |
HINTS ${COIN_ROOT_DIR}/lib |
40 | 40 |
) |
41 | 41 |
FIND_LIBRARY(COIN_OSI_CLP_LIBRARY |
42 | 42 |
NAMES OsiClp libOsiClp |
43 | 43 |
HINTS ${COIN_ROOT_DIR}/lib/coin |
44 | 44 |
HINTS ${COIN_ROOT_DIR}/lib |
45 | 45 |
) |
46 | 46 |
FIND_LIBRARY(COIN_OSI_VOL_LIBRARY |
47 | 47 |
NAMES OsiVol libOsiVol |
48 | 48 |
HINTS ${COIN_ROOT_DIR}/lib/coin |
49 | 49 |
HINTS ${COIN_ROOT_DIR}/lib |
50 | 50 |
) |
51 | 51 |
FIND_LIBRARY(COIN_VOL_LIBRARY |
52 | 52 |
NAMES Vol libVol |
53 | 53 |
HINTS ${COIN_ROOT_DIR}/lib/coin |
54 | 54 |
HINTS ${COIN_ROOT_DIR}/lib |
55 | 55 |
) |
56 | 56 |
|
57 | 57 |
INCLUDE(FindPackageHandleStandardArgs) |
58 | 58 |
FIND_PACKAGE_HANDLE_STANDARD_ARGS(COIN DEFAULT_MSG |
59 | 59 |
COIN_INCLUDE_DIR |
60 | 60 |
COIN_CBC_LIBRARY |
61 | 61 |
COIN_CBC_SOLVER_LIBRARY |
62 | 62 |
COIN_CGL_LIBRARY |
63 | 63 |
COIN_CLP_LIBRARY |
64 | 64 |
COIN_COIN_UTILS_LIBRARY |
65 | 65 |
COIN_OSI_LIBRARY |
66 | 66 |
COIN_OSI_CBC_LIBRARY |
67 | 67 |
COIN_OSI_CLP_LIBRARY |
68 |
COIN_OSI_VOL_LIBRARY |
|
69 |
COIN_VOL_LIBRARY |
|
68 |
# COIN_OSI_VOL_LIBRARY |
|
69 |
# COIN_VOL_LIBRARY |
|
70 | 70 |
) |
71 | 71 |
|
72 | 72 |
IF(COIN_FOUND) |
73 | 73 |
SET(COIN_INCLUDE_DIRS ${COIN_INCLUDE_DIR}) |
74 |
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} |
|
74 |
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}") |
|
75 | 75 |
SET(COIN_CLP_LIBRARIES "${COIN_CLP_LIBRARY};${COIN_COIN_UTILS_LIBRARY}") |
76 | 76 |
SET(COIN_CBC_LIBRARIES ${COIN_LIBRARIES}) |
77 | 77 |
ENDIF(COIN_FOUND) |
78 | 78 |
|
79 | 79 |
MARK_AS_ADVANCED( |
80 | 80 |
COIN_INCLUDE_DIR |
81 | 81 |
COIN_CBC_LIBRARY |
82 | 82 |
COIN_CBC_SOLVER_LIBRARY |
83 | 83 |
COIN_CGL_LIBRARY |
84 | 84 |
COIN_CLP_LIBRARY |
85 | 85 |
COIN_COIN_UTILS_LIBRARY |
86 | 86 |
COIN_OSI_LIBRARY |
87 | 87 |
COIN_OSI_CBC_LIBRARY |
88 | 88 |
COIN_OSI_CLP_LIBRARY |
89 | 89 |
COIN_OSI_VOL_LIBRARY |
90 | 90 |
COIN_VOL_LIBRARY |
91 | 91 |
) |
92 | 92 |
|
93 | 93 |
IF(COIN_FOUND) |
94 | 94 |
SET(LEMON_HAVE_LP TRUE) |
95 | 95 |
SET(LEMON_HAVE_MIP TRUE) |
96 | 96 |
SET(LEMON_HAVE_CLP TRUE) |
97 | 97 |
SET(LEMON_HAVE_CBC TRUE) |
98 | 98 |
ENDIF(COIN_FOUND) |
0 comments (0 inline)