equal
deleted
inserted
replaced
13 WORKING_DIRECTORY ${PROJECT_SOURCE_DIR} |
13 WORKING_DIRECTORY ${PROJECT_SOURCE_DIR} |
14 OUTPUT_VARIABLE HG_REVISION |
14 OUTPUT_VARIABLE HG_REVISION |
15 ERROR_QUIET |
15 ERROR_QUIET |
16 OUTPUT_STRIP_TRAILING_WHITESPACE |
16 OUTPUT_STRIP_TRAILING_WHITESPACE |
17 ) |
17 ) |
|
18 IF(HG_REVISION STREQUAL "") |
|
19 SET(HG_REVISION "hg-tip") |
|
20 ENDIF() |
18 SET(LEMON_VERSION ${HG_REVISION} CACHE STRING "LEMON version string.") |
21 SET(LEMON_VERSION ${HG_REVISION} CACHE STRING "LEMON version string.") |
19 ENDIF() |
22 ENDIF() |
20 |
23 |
21 SET(PROJECT_VERSION ${LEMON_VERSION}) |
24 SET(PROJECT_VERSION ${LEMON_VERSION}) |
22 |
25 |