lemon/CMakeLists.txt
changeset 616 1f631044c290
parent 612 c3ce597c11ae
child 622 20dac2104519
     1.1 --- a/lemon/CMakeLists.txt	Sat Apr 25 02:12:41 2009 +0200
     1.2 +++ b/lemon/CMakeLists.txt	Sat Apr 25 17:51:09 2009 +0100
     1.3 @@ -20,7 +20,7 @@
     1.4  
     1.5  IF(HAVE_GLPK)
     1.6    SET(LEMON_SOURCES ${LEMON_SOURCES} glpk.cc)
     1.7 -  INCLUDE_DIRECTORIES(${GLPK_INCLUDE_DIR})
     1.8 +  INCLUDE_DIRECTORIES(${GLPK_INCLUDE_DIRS})
     1.9    IF(WIN32)
    1.10      INSTALL(FILES ${GLPK_BIN_DIR}/glpk.dll DESTINATION bin)
    1.11      INSTALL(FILES ${GLPK_BIN_DIR}/libltdl3.dll DESTINATION bin)
    1.12 @@ -28,6 +28,21 @@
    1.13    ENDIF(WIN32)
    1.14  ENDIF(HAVE_GLPK)
    1.15  
    1.16 +IF(HAVE_CPLEX)
    1.17 +  SET(LEMON_SOURCES ${LEMON_SOURCES} cplex.cc)
    1.18 +  INCLUDE_DIRECTORIES(${CPLEX_INCLUDE_DIRS})
    1.19 +ENDIF(HAVE_CPLEX)
    1.20 +
    1.21 +IF(HAVE_CLP)
    1.22 +  SET(LEMON_SOURCES ${LEMON_SOURCES} clp.cc)
    1.23 +  INCLUDE_DIRECTORIES(${COIN_INCLUDE_DIRS})
    1.24 +ENDIF(HAVE_CLP)
    1.25 +
    1.26 +IF(HAVE_CBC)
    1.27 +  SET(LEMON_SOURCES ${LEMON_SOURCES} cbc.cc)
    1.28 +  INCLUDE_DIRECTORIES(${COIN_INCLUDE_DIRS})
    1.29 +ENDIF(HAVE_CBC)
    1.30 +
    1.31  ADD_LIBRARY(lemon ${LEMON_SOURCES})
    1.32  
    1.33  INSTALL(