From 219d45299f5444ff1cf89d43ec34ec20e2a49abb Mon Sep 17 00:00:00 2001 From: Tony Wasserka Date: Sun, 20 Oct 2013 02:14:00 +0200 Subject: [PATCH] Make CMakeLists.txt recognize "stable" as a stable branch. --- CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 96685e68d9..6aa0fb81a9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -752,17 +752,17 @@ endif(NOT DISABLE_WX AND NOT ANDROID) ######################################## # Pre-build events: Define configuration variables and write SCM info header # -if(DOLPHIN_WC_BRANCH STREQUAL "master") - set(DOLPHIN_WC_IS_MASTER "1") +if(DOLPHIN_WC_BRANCH STREQUAL "master" OR DOLPHIN_WC_BRANCH STREQUAL "stable") + set(DOLPHIN_WC_IS_STABLE "1") else() - set(DOLPHIN_WC_IS_MASTER "0") + set(DOLPHIN_WC_IS_STABLE "0") endif() file(WRITE ${PROJECT_BINARY_DIR}/Source/Core/Common/Src/scmrev.h "#define SCM_REV_STR \"" ${DOLPHIN_WC_REVISION} "\"\n" "#define SCM_DESC_STR \"" ${DOLPHIN_WC_DESCRIBE} "\"\n" "#define SCM_BRANCH_STR \"" ${DOLPHIN_WC_BRANCH} "\"\n" - "#define SCM_IS_MASTER " ${DOLPHIN_WC_IS_MASTER} "\n" + "#define SCM_IS_MASTER " ${DOLPHIN_WC_IS_STABLE} "\n" ) include_directories("${PROJECT_BINARY_DIR}/Source/Core/Common/Src")