summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalf Habacker <ralf.habacker@freenet.de>2016-11-18 08:53:04 (GMT)
committerRalf Habacker <ralf.habacker@freenet.de>2016-11-18 08:53:04 (GMT)
commit5d4c562b4d59c87802c835795e874b176ba43942 (patch)
tree3376ac70dab343167c06dec9890e931c86de5dc2
parent08e4485dbbad8d0d9d56847724ebbe9616361fbb (diff)
Enable object window for beta and rc releases.
-rw-r--r--CMakeLists.txt9
1 files changed, 5 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index f3b1bf5..377c278 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -221,11 +221,12 @@ include_directories(
)
#
-# Unstable features should not be enabled in stable branches.
+# Unstable features should not be enabled in stable branches
# This macro limits unstable feature to development branches
# by only adding -DENABLE_<name> to the compile command when
-# the patch level is greater 95. On cmake configure time a
-# related status note is displayed.
+# the patch level is >= 70 which includes releases from master
+# beta and rc releases. On cmake configure time a related status
+# note is displayed.
#
# syntax: add_unstable_feature(<name>)
#
@@ -236,7 +237,7 @@ include_directories(
# #endif
#
macro(add_unstable_feature name)
- if(UMBRELLO_VERSION_PATCH GREATER 95)
+ if(UMBRELLO_VERSION_PATCH GREATER 69)
add_definitions(-DENABLE_${name})
message(STATUS "Enable unstable feature ${name} - use '#ifdef ENABLE_${name}' in related code")
else()