... | ... |
@@ -21,12 +21,15 @@ |
21 | 21 |
PATHS "C:/ILOG/CPLEX91/bin/x86_win32" |
22 | 22 |
) |
23 | 23 |
|
24 | 24 |
IF(CPLEX_FOUND) |
25 | 25 |
SET(CPLEX_INCLUDE_DIRS ${CPLEX_INCLUDE_DIR}) |
26 | 26 |
SET(CPLEX_LIBRARIES ${CPLEX_LIBRARY}) |
27 |
IF(CMAKE_SYSTEM_NAME STREQUAL "Linux") |
|
28 |
SET(CPLEX_LIBRARIES "${CPLEX_LIBRARIES};m;pthread") |
|
29 |
ENDIF(CMAKE_SYSTEM_NAME STREQUAL "Linux") |
|
27 | 30 |
ENDIF(CPLEX_FOUND) |
28 | 31 |
|
29 | 32 |
MARK_AS_ADVANCED(CPLEX_LIBRARY CPLEX_INCLUDE_DIR CPLEX_BIN_DIR) |
30 | 33 |
|
31 | 34 |
IF(CPLEX_FOUND) |
32 | 35 |
SET(LEMON_HAVE_LP TRUE) |
0 comments (0 inline)