diff CMakeLists.txt @ 1129:6950f08342bb

Add CMakeList changes for r1127
author Andre Heinecke <andre.heinecke@intevation.de>
date Wed, 17 Sep 2014 13:34:43 +0200
parents fd85a02d771d
children 148014db2f3b 69f7d302cdb9
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/