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.
This commit is contained in:
@@ -338,7 +338,8 @@ if(WITH_PYTHON)
|
|||||||
# install(CODE "message(\"copying blender scripts...\")")
|
# install(CODE "message(\"copying blender scripts...\")")
|
||||||
|
|
||||||
# exclude addons_contrib if release
|
# 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/*")
|
set(ADDON_EXCLUDE_CONDITIONAL "addons_contrib/*")
|
||||||
else()
|
else()
|
||||||
set(ADDON_EXCLUDE_CONDITIONAL "_addons_contrib/*") # dummy, wont do anything
|
set(ADDON_EXCLUDE_CONDITIONAL "_addons_contrib/*") # dummy, wont do anything
|
||||||
|
Reference in New Issue
Block a user