Changeset 668:b536eaacb39b in lemon
- Timestamp:
- 04/23/09 08:30:40 (16 years ago)
- Branch:
- default
- Phase:
- public
- Files:
-
- 1 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
CMakeLists.txt
r667 r668 16 16 FIND_PACKAGE(GLPK 4.33) 17 17 FIND_PACKAGE(CPLEX) 18 FIND_PACKAGE(COIN) 18 19 19 20 ADD_DEFINITIONS(-DHAVE_CONFIG_H) -
lemon/CMakeLists.txt
r667 r668 34 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 46 ADD_LIBRARY(lemon ${LEMON_SOURCES}) 37 47 -
lemon/config.h.cmake
r667 r668 4 4 #cmakedefine HAVE_GLPK 1 5 5 #cmakedefine HAVE_CPLEX 1 6 #cmakedefine HAVE_CLP 1 7 #cmakedefine HAVE_CBC 1 -
test/CMakeLists.txt
r667 r668 46 46 SET(LP_TEST_LIBS ${LP_TEST_LIBS} ${CPLEX_LIBRARIES}) 47 47 ENDIF(HAVE_CPLEX) 48 IF(HAVE_CLP) 49 SET(LP_TEST_LIBS ${LP_TEST_LIBS} ${COIN_CLP_LIBRARIES}) 50 ENDIF(HAVE_CLP) 48 51 TARGET_LINK_LIBRARIES(lp_test ${LP_TEST_LIBS}) 49 52 ADD_TEST(lp_test lp_test) … … 76 79 SET(MIP_TEST_LIBS ${MIP_TEST_LIBS} ${CPLEX_LIBRARIES}) 77 80 ENDIF(HAVE_CPLEX) 81 IF(HAVE_CBC) 82 SET(MIP_TEST_LIBS ${MIP_TEST_LIBS} ${COIN_CBC_LIBRARIES}) 83 ENDIF(HAVE_CBC) 78 84 TARGET_LINK_LIBRARIES(mip_test ${MIP_TEST_LIBS}) 79 85 ADD_TEST(mip_test mip_test)
Note: See TracChangeset
for help on using the changeset viewer.