... | ... |
@@ -5,2 +5,4 @@ |
5 | 5 |
|
6 |
INCLUDE(FindPythonInterp) |
|
7 |
|
|
6 | 8 |
IF(EXISTS ${PROJECT_SOURCE_DIR}/cmake/version.cmake) |
... | ... |
@@ -11,3 +13,3 @@ |
11 | 13 |
EXECUTE_PROCESS( |
12 |
COMMAND ./scripts/chg-len.py |
|
14 |
COMMAND ${PYTHON_EXECUTABLE} ./scripts/chg-len.py |
|
13 | 15 |
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR} |
... | ... |
@@ -27,3 +29,7 @@ |
27 | 29 |
ELSE() |
28 |
|
|
30 |
IF(HG_REVISION_PATH STREQUAL "") |
|
31 |
SET(HG_REVISION_ID ${HG_REVISION}) |
|
32 |
ELSE() |
|
33 |
SET(HG_REVISION_ID ${HG_REVISION_PATH}.${HG_REVISION}) |
|
34 |
ENDIF() |
|
29 | 35 |
ENDIF() |
... | ... |
@@ -46,4 +52,2 @@ |
46 | 52 |
|
47 |
INCLUDE(FindPythonInterp) |
|
48 |
|
|
49 | 53 |
ENABLE_TESTING() |
0 comments (0 inline)