CMakeLists.txt
changeset 476 efec3c133e74
parent 274 2a33883915bb
child 477 e6ae4999cf22
equal deleted inserted replaced
3:ebc176d3a5ff 4:65bb3afb5c30
     7 
     7 
     8 SET(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake)
     8 SET(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake)
     9 
     9 
    10 INCLUDE(FindDoxygen)
    10 INCLUDE(FindDoxygen)
    11 INCLUDE(FindGhostscript)
    11 INCLUDE(FindGhostscript)
       
    12 FIND_PACKAGE(GLPK 4.33)
       
    13 
       
    14 ADD_DEFINITIONS(-DHAVE_CONFIG_H)
       
    15 
       
    16 IF(GLPK_FOUND)
       
    17   SET(HAVE_LP TRUE)
       
    18   SET(HAVE_MIP TRUE)
       
    19   SET(HAVE_GLPK TRUE)
       
    20 ENDIF(GLPK_FOUND)
    12 
    21 
    13 ENABLE_TESTING()
    22 ENABLE_TESTING()
    14 
    23 
    15 ADD_SUBDIRECTORY(lemon)
    24 ADD_SUBDIRECTORY(lemon)
    16 ADD_SUBDIRECTORY(demo)
    25 ADD_SUBDIRECTORY(demo)