1.1 --- a/demo/CMakeLists.txt Mon Jan 12 23:11:39 2009 +0100
1.2 +++ b/demo/CMakeLists.txt Thu Nov 05 15:48:01 2009 +0100
1.3 @@ -1,13 +1,19 @@
1.4 -INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR})
1.5 +INCLUDE_DIRECTORIES(
1.6 + ${PROJECT_SOURCE_DIR}
1.7 + ${PROJECT_BINARY_DIR}
1.8 +)
1.9
1.10 -LINK_DIRECTORIES(${CMAKE_BINARY_DIR}/lemon)
1.11 +LINK_DIRECTORIES(
1.12 + ${PROJECT_BINARY_DIR}/lemon
1.13 +)
1.14
1.15 SET(DEMOS
1.16 arg_parser_demo
1.17 graph_to_eps_demo
1.18 - lgf_demo)
1.19 + lgf_demo
1.20 +)
1.21
1.22 FOREACH(DEMO_NAME ${DEMOS})
1.23 ADD_EXECUTABLE(${DEMO_NAME} ${DEMO_NAME}.cc)
1.24 TARGET_LINK_LIBRARIES(${DEMO_NAME} lemon)
1.25 -ENDFOREACH(DEMO_NAME)
1.26 +ENDFOREACH()