COIN-OR::LEMON - Graph Library

source: lemon-1.2/demo/CMakeLists.txt @ 475:f59df77f5c8d

Last change on this file since 475:f59df77f5c8d was 475:f59df77f5c8d, checked in by Akos Ladanyi <ladanyi@…>, 11 years ago

Fix CMAKE build without GLPK

File size: 315 bytes
Line 
1INCLUDE_DIRECTORIES(
2  ${CMAKE_SOURCE_DIR}
3  ${CMAKE_BINARY_DIR}
4)
5
6LINK_DIRECTORIES(${CMAKE_BINARY_DIR}/lemon)
7
8SET(DEMOS
9  arg_parser_demo
10  graph_to_eps_demo
11  lgf_demo)
12
13FOREACH(DEMO_NAME ${DEMOS})
14  ADD_EXECUTABLE(${DEMO_NAME} ${DEMO_NAME}.cc)
15  TARGET_LINK_LIBRARIES(${DEMO_NAME} lemon)
16ENDFOREACH(DEMO_NAME)
Note: See TracBrowser for help on using the repository browser.