lemon/CMakeLists.txt
changeset 641 756a5ec551c8
parent 620 c3ce597c11ae
child 627 20dac2104519
equal deleted inserted replaced
11:6798652885bc 12:47f83cb354e5
    31 IF(HAVE_CPLEX)
    31 IF(HAVE_CPLEX)
    32   SET(LEMON_SOURCES ${LEMON_SOURCES} cplex.cc)
    32   SET(LEMON_SOURCES ${LEMON_SOURCES} cplex.cc)
    33   INCLUDE_DIRECTORIES(${CPLEX_INCLUDE_DIRS})
    33   INCLUDE_DIRECTORIES(${CPLEX_INCLUDE_DIRS})
    34 ENDIF(HAVE_CPLEX)
    34 ENDIF(HAVE_CPLEX)
    35 
    35 
       
    36 IF(HAVE_CLP)
       
    37   SET(LEMON_SOURCES ${LEMON_SOURCES} clp.cc)
       
    38   INCLUDE_DIRECTORIES(${COIN_INCLUDE_DIRS})
       
    39 ENDIF(HAVE_CLP)
       
    40 
       
    41 IF(HAVE_CBC)
       
    42   SET(LEMON_SOURCES ${LEMON_SOURCES} cbc.cc)
       
    43   INCLUDE_DIRECTORIES(${COIN_INCLUDE_DIRS})
       
    44 ENDIF(HAVE_CBC)
       
    45 
    36 ADD_LIBRARY(lemon ${LEMON_SOURCES})
    46 ADD_LIBRARY(lemon ${LEMON_SOURCES})
    37 
    47 
    38 INSTALL(
    48 INSTALL(
    39   TARGETS lemon
    49   TARGETS lemon
    40   ARCHIVE DESTINATION lib
    50   ARCHIVE DESTINATION lib