Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2016-09-02 15:42:01 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2016-09-05 11:14:07 +0300
commit83ae39cc2e06e7354dd73b6a5cf7007b446d6ccc (patch)
tree23adc28de7f28962578261f238cf18b8b046deb8
parente35a87c5ff1a5204666ac3fb15c5899d19862f55 (diff)
CMake: Skip addons_contrib for release candidate builds
Nowadays release candidates are supposed to be as close to the final release as possible. Safe for 2.78 release branch.
-rw-r--r--source/creator/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/creator/CMakeLists.txt b/source/creator/CMakeLists.txt
index fc02dfda9d1..f65688e1304 100644
--- a/source/creator/CMakeLists.txt
+++ b/source/creator/CMakeLists.txt
@@ -338,7 +338,8 @@ if(WITH_PYTHON)
# install(CODE "message(\"copying blender scripts...\")")
# exclude addons_contrib if release
- if("${BLENDER_VERSION_CYCLE}" STREQUAL "release")
+ if("${BLENDER_VERSION_CYCLE}" STREQUAL "release" OR
+ "${BLENDER_VERSION_CYCLE}" STREQUAL "rc")
set(ADDON_EXCLUDE_CONDITIONAL "addons_contrib/*")
else()
set(ADDON_EXCLUDE_CONDITIONAL "_addons_contrib/*") # dummy, wont do anything