CMakeLists.txt
changeset 483 3f0ddf255524
parent 477 e58c511a5eba
child 485 7992dcb0d0e6
child 508 861a9d5ff283
equal deleted inserted replaced
5:cbe8687c69f6 6:09cdaf117989
     1 CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
     1 CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
     2 
     2 
     3 SET(PROJECT_NAME "LEMON")
     3 IF(EXISTS ${CMAKE_SOURCE_DIR}/cmake/version.cmake)
     4 SET(PROJECT_VERSION "hg-tip" CACHE STRING "The version string.")
     4   INCLUDE(${CMAKE_SOURCE_DIR}/cmake/version.cmake)
       
     5 ELSE(EXISTS ${CMAKE_SOURCE_DIR}/cmake/version.cmake)
       
     6   SET(PROJECT_NAME "LEMON")
       
     7   SET(PROJECT_VERSION "hg-tip" CACHE STRING "LEMON version string.")
       
     8 ENDIF(EXISTS ${CMAKE_SOURCE_DIR}/cmake/version.cmake)
     5 
     9 
     6 PROJECT(${PROJECT_NAME})
    10 PROJECT(${PROJECT_NAME})
     7 
    11 
     8 SET(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake)
    12 SET(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake)
     9 
    13