Mercurial > trustbridge
diff CMakeLists.txt @ 1134:f1384bf9d4a4
Mergerd
author | Sascha Wilde <wilde@intevation.de> |
---|---|
date | Wed, 17 Sep 2014 15:01:19 +0200 |
parents | 6950f08342bb |
children | 148014db2f3b 69f7d302cdb9 |
line wrap: on
line diff
--- a/CMakeLists.txt Wed Sep 17 13:13:33 2014 +0200 +++ b/CMakeLists.txt Wed Sep 17 15:01:19 2014 +0200 @@ -9,7 +9,6 @@ project(trustbridge) option(DO_RELEASE_BUILD "Build for a public release." OFF) -option(USE_REAL_RESOURCES "Use real resource names on the download server. Autmatically ON if DO_RELEASE_BUILD is set" OFF ) option(ENABLE_PROFILING "Set to enable profiling." OFF) option(USE_CURL "Use libcurl to download updates and certificate lists." ON) @@ -27,6 +26,9 @@ include(HGVersion) if(HG_REVISION) + If(HG_REVISION_DIST STREQUAL "0") + add_definitions(-DIS_TAG_BUILD) + endif() set(PROJECT_VERSION ${HG_REVISION}) else() set(PROJECT_VERSION unknown)