... | ... |
@@ -24,6 +24,9 @@ |
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) |
0 comments (0 inline)