[PATCH 2 of 4] Add CMakeList changes for r1127
Wald Commits
scm-commit at wald.intevation.org
Wed Sep 17 13:39:07 CEST 2014
# HG changeset patch
# User Andre Heinecke <andre.heinecke at intevation.de>
# Date 1410953683 -7200
# Node ID 6950f08342bb66470b230f8a66b2660a4218ea42
# Parent 3ee529f42974cf9f0c1f0b29d8be75d266033937
Add CMakeList changes for r1127
diff -r 3ee529f42974 -r 6950f08342bb CMakeLists.txt
--- 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)
More information about the Trustbridge-commits
mailing list