equal
deleted
inserted
replaced
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 |