tools/CMakeLists.txt
changeset 596 ba659d676331
parent 574 c458e02723b1
child 726 9c7639f3a741
     1.1 --- a/tools/CMakeLists.txt	Thu Mar 05 10:13:20 2009 +0000
     1.2 +++ b/tools/CMakeLists.txt	Mon Mar 16 13:51:32 2009 +0000
     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)