demo/CMakeLists.txt
changeset 784 1a7fe3bef514
parent 627 20dac2104519
     1.1 --- a/demo/CMakeLists.txt	Fri Oct 16 10:21:37 2009 +0200
     1.2 +++ b/demo/CMakeLists.txt	Thu Nov 05 15:50:01 2009 +0100
     1.3 @@ -1,16 +1,19 @@
     1.4  INCLUDE_DIRECTORIES(
     1.5 -  ${CMAKE_SOURCE_DIR}
     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()