COIN-OR::LEMON - Graph Library

Changeset 679:9c7639f3a741 in lemon-main for tools


Ignore:
Timestamp:
05/29/09 13:44:37 (15 years ago)
Author:
Akos Ladanyi <ladanyi@…>
Branch:
default
Phase:
public
Message:

Minor CMake improvements

  • Use the empty ELSE(), ENDIF(), ENDMACRO(), etc. syntax since this improves readability and requires less typing.
  • Use FIND_PACKAGE() instead of INCLUDE().
  • Use the value of CMAKE_COMMAND variable instead of cmake, since this works even if cmake is not in the PATH.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/CMakeLists.txt

    r549 r679  
    44)
    55
    6 LINK_DIRECTORIES(${PROJECT_BINARY_DIR}/lemon)
     6LINK_DIRECTORIES(
     7  ${PROJECT_BINARY_DIR}/lemon
     8)
    79
    810ADD_EXECUTABLE(lgf-gen lgf-gen.cc)
     
    2527    PROGRAMS ${CMAKE_CURRENT_SOURCE_DIR}/lemon-0.x-to-1.x.sh
    2628    DESTINATION bin
    27     COMPONENT bin)
    28 ENDIF(NOT WIN32)
     29    COMPONENT bin
     30  )
     31ENDIF()
Note: See TracChangeset for help on using the changeset viewer.