tools/CMakeLists.txt
changeset 607 49a39bae067c
parent 574 c458e02723b1
child 726 9c7639f3a741
     1.1 --- a/tools/CMakeLists.txt	Sun Mar 29 23:08:20 2009 +0200
     1.2 +++ b/tools/CMakeLists.txt	Sun Mar 29 22:19:14 2009 +0100
     1.3 @@ -1,9 +1,9 @@
     1.4  INCLUDE_DIRECTORIES(
     1.5 -  ${CMAKE_SOURCE_DIR}
     1.6 -  ${CMAKE_BINARY_DIR}
     1.7 +  ${PROJECT_SOURCE_DIR}
     1.8 +  ${PROJECT_BINARY_DIR}
     1.9  )
    1.10  
    1.11 -LINK_DIRECTORIES(${CMAKE_BINARY_DIR}/lemon)
    1.12 +LINK_DIRECTORIES(${PROJECT_BINARY_DIR}/lemon)
    1.13  
    1.14  ADD_EXECUTABLE(lgf-gen lgf-gen.cc)
    1.15  TARGET_LINK_LIBRARIES(lgf-gen lemon)
    1.16 @@ -22,7 +22,7 @@
    1.17  
    1.18  IF(NOT WIN32)
    1.19    INSTALL(
    1.20 -    FILES ${CMAKE_CURRENT_SOURCE_DIR}/lemon-0.x-to-1.x.sh
    1.21 -    RUNTIME DESTINATION bin
    1.22 +    PROGRAMS ${CMAKE_CURRENT_SOURCE_DIR}/lemon-0.x-to-1.x.sh
    1.23 +    DESTINATION bin
    1.24      COMPONENT bin)
    1.25  ENDIF(NOT WIN32)