diff --git a/CMakeLists.txt b/CMakeLists.txt --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -9,6 +9,15 @@ INCLUDE(FindDoxygen) INCLUDE(FindGhostscript) +FIND_PACKAGE(GLPK 4.33) + +ADD_DEFINITIONS(-DHAVE_CONFIG_H) + +IF(GLPK_FOUND) + SET(HAVE_LP TRUE) + SET(HAVE_MIP TRUE) + SET(HAVE_GLPK TRUE) +ENDIF(GLPK_FOUND) ENABLE_TESTING()