changeset 1129:6950f08342bb

Add CMakeList changes for r1127
author Andre Heinecke <andre.heinecke@intevation.de>
date Wed, 17 Sep 2014 13:34:43 +0200
parents 3ee529f42974
children a2d2ae5a1154
files CMakeLists.txt
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/CMakeLists.txt	Wed Sep 17 13:15:33 2014 +0200
+++ b/CMakeLists.txt	Wed Sep 17 13:34:43 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)

http://wald.intevation.org/projects/trustbridge/