From 83ae39cc2e06e7354dd73b6a5cf7007b446d6ccc Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Fri, 2 Sep 2016 14:42:01 +0200 Subject: 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. --- source/creator/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source/creator') 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 -- cgit v1.2.3