CMakeLists.txt
changeset 484 daddd623ac9a
parent 479 e58c511a5eba
child 481 861a9d5ff283
child 496 7992dcb0d0e6
equal deleted inserted replaced
6:cbe8687c69f6 7: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