equal
deleted
inserted
replaced
42 MESSAGE (STATUS "Version: mercurial tag: ${hg_tag}") |
42 MESSAGE (STATUS "Version: mercurial tag: ${hg_tag}") |
43 |
43 |
44 endif ("${hg_tag}" STREQUAL "tip") |
44 endif ("${hg_tag}" STREQUAL "tip") |
45 |
45 |
46 else (EXISTS ${project_path}/.hg) |
46 else (EXISTS ${project_path}/.hg) |
47 SET (PROJECT_VERSION "0.0" PARENT_SCOPE) |
47 SET (PROJECT_VERSION "???" PARENT_SCOPE) |
48 MESSAGE (STATUS "No version information available, assuming version ${PROJECT_VERSION}") |
48 MESSAGE (STATUS "No version information available") |
49 |
49 |
50 endif (EXISTS ${project_path}/.hg) |
50 endif (EXISTS ${project_path}/.hg) |
51 ENDFUNCTION (FindProjectVersion) |
51 ENDFUNCTION (FindProjectVersion) |