From 35aa676fe7554055afcbe6dfa29d507b6d2f88ae Mon Sep 17 00:00:00 2001 From: Jules Blok Date: Tue, 9 Jun 2015 21:06:28 +0200 Subject: [PATCH] Decide whether Dolphin is stable based on the branch name. --- CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 798f4e6693..91071aefdb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -52,7 +52,6 @@ if (APPLE) endif() endif() set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_SOURCE_DIR}/CMakeTests) -set(DOLPHIN_IS_STABLE FALSE) # Libraries to link set(LIBS) @@ -126,7 +125,7 @@ endif() # version number set(DOLPHIN_VERSION_MAJOR "4") set(DOLPHIN_VERSION_MINOR "0") -if(DOLPHIN_IS_STABLE) +if(DOLPHIN_WC_BRANCH STREQUAL "stable") set(DOLPHIN_VERSION_PATCH "0") else() set(DOLPHIN_VERSION_PATCH ${DOLPHIN_WC_REVISION})