# HG changeset patch # User Hasan Yavuz Ă–ZDERYA # Date 2015-09-11 04:04:46 # Node ID 01cfae83a7f8f6e63026139d7ea36fd600149a09 # Parent 6df12181783c8d12ce19989ae57b600394bca0e4 version numbers are now cache variables, can be set from command line or cmake gui diff --git a/CMakeLists.txt b/CMakeLists.txt --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -86,9 +86,9 @@ else() endif() # version number -set(MAJOR_VERSION 0) -set(MINOR_VERSION 4) -set(PATCH_VERSION 0) +set(MAJOR_VERSION 0 CACHE INT "Program major version number.") +set(MINOR_VERSION 4 CACHE INT "Program minor version number.") +set(PATCH_VERSION 0 CACHE INT "Program patch version number.") set(VERSION_STRING "${MAJOR_VERSION}.${MINOR_VERSION}.${PATCH_VERSION}") # get revision number from mercurial