COIN-OR::LEMON - Graph Library

Changeset 478:64c2641286df in lemon-1.2 for CMakeLists.txt


Ignore:
Timestamp:
01/23/09 17:30:05 (11 years ago)
Author:
Alpar Juttner <alpar@…>
Branch:
default
Children:
479:55111a054b2e, 508:861a9d5ff283
Phase:
public
Message:

Set the proper version for CMAKE in the tarballs (made by autotools).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CMakeLists.txt

    r477 r478  
    11CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
    22
    3 SET(PROJECT_NAME "LEMON")
    4 SET(PROJECT_VERSION "hg-tip" CACHE STRING "The version string.")
     3IF(EXISTS ${CMAKE_SOURCE_DIR}/cmake/version.cmake)
     4  INCLUDE(${CMAKE_SOURCE_DIR}/cmake/version.cmake)
     5ELSE(EXISTS ${CMAKE_SOURCE_DIR}/cmake/version.cmake)
     6  SET(PROJECT_NAME "LEMON")
     7  SET(PROJECT_VERSION "hg-tip" CACHE STRING "LEMON version string.")
     8ENDIF(EXISTS ${CMAKE_SOURCE_DIR}/cmake/version.cmake)
    59
    610PROJECT(${PROJECT_NAME})
Note: See TracChangeset for help on using the changeset viewer.