0
4
0
... | ... |
@@ -13,8 +13,15 @@ |
13 | 13 |
FIND_PACKAGE_HANDLE_STANDARD_ARGS(GLPK DEFAULT_MSG GLPK_LIBRARY GLPK_INCLUDE_DIR) |
14 | 14 |
|
15 | 15 |
IF(GLPK_FOUND) |
16 |
SET(GLPK_INCLUDE_DIRS ${GLPK_INCLUDE_DIR}) |
|
16 | 17 |
SET(GLPK_LIBRARIES ${GLPK_LIBRARY}) |
17 | 18 |
SET(GLPK_BIN_DIR ${GLPK_ROOT_PATH}/bin) |
18 | 19 |
ENDIF(GLPK_FOUND) |
19 | 20 |
|
20 | 21 |
MARK_AS_ADVANCED(GLPK_LIBRARY GLPK_INCLUDE_DIR GLPK_BIN_DIR) |
22 |
|
|
23 |
IF(GLPK_FOUND) |
|
24 |
SET(HAVE_LP TRUE) |
|
25 |
SET(HAVE_MIP TRUE) |
|
26 |
SET(HAVE_GLPK TRUE) |
|
27 |
ENDIF(GLPK_FOUND) |
... | ... |
@@ -20,7 +20,7 @@ |
20 | 20 |
|
21 | 21 |
IF(HAVE_GLPK) |
22 | 22 |
SET(LEMON_SOURCES ${LEMON_SOURCES} glpk.cc) |
23 |
INCLUDE_DIRECTORIES(${ |
|
23 |
INCLUDE_DIRECTORIES(${GLPK_INCLUDE_DIRS}) |
|
24 | 24 |
IF(WIN32) |
25 | 25 |
INSTALL(FILES ${GLPK_BIN_DIR}/glpk.dll DESTINATION bin) |
26 | 26 |
INSTALL(FILES ${GLPK_BIN_DIR}/libltdl3.dll DESTINATION bin) |
0 comments (0 inline)