COIN-OR::LEMON - Graph Library

Changeset 596:ba659d676331 in lemon for tools/CMakeLists.txt


Ignore:
Timestamp:
03/16/09 14:51:32 (16 years ago)
Author:
Akos Ladanyi <ladanyi@…>
Branch:
default
Phase:
public
Message:

Make it possible to use LEMON as a CMake subproject (#240)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/CMakeLists.txt

    r574 r596  
    11INCLUDE_DIRECTORIES(
    2   ${CMAKE_SOURCE_DIR}
    3   ${CMAKE_BINARY_DIR}
     2  ${PROJECT_SOURCE_DIR}
     3  ${PROJECT_BINARY_DIR}
    44)
    55
    6 LINK_DIRECTORIES(${CMAKE_BINARY_DIR}/lemon)
     6LINK_DIRECTORIES(${PROJECT_BINARY_DIR}/lemon)
    77
    88ADD_EXECUTABLE(lgf-gen lgf-gen.cc)
     
    2323IF(NOT WIN32)
    2424  INSTALL(
    25     FILES ${CMAKE_CURRENT_SOURCE_DIR}/lemon-0.x-to-1.x.sh
    26     RUNTIME DESTINATION bin
     25    PROGRAMS ${CMAKE_CURRENT_SOURCE_DIR}/lemon-0.x-to-1.x.sh
     26    DESTINATION bin
    2727    COMPONENT bin)
    2828ENDIF(NOT WIN32)
Note: See TracChangeset for help on using the changeset viewer.