mirror of
https://projects.blender.org/blender/blender.git
synced 2025-01-22 07:22:12 -05:00
Makefile: use BLENDER_BIN variable if passed in
When the default build path isn't used, it's still handy to be able to run utility commands.
This commit is contained in:
parent
c702e57b3c
commit
c6681c65dd
1 changed files with 4 additions and 2 deletions
|
@ -212,10 +212,12 @@ endif
|
|||
# -----------------------------------------------------------------------------
|
||||
# Blender binary path
|
||||
|
||||
# Allow passing in own BLENDER_BIN so developers who don't
|
||||
# use the default build path can still use utility helpers.
|
||||
ifeq ($(OS), Darwin)
|
||||
BLENDER_BIN="$(BUILD_DIR)/bin/blender.app/Contents/MacOS/blender"
|
||||
BLENDER_BIN?="$(BUILD_DIR)/bin/blender.app/Contents/MacOS/blender"
|
||||
else
|
||||
BLENDER_BIN="$(BUILD_DIR)/bin/blender"
|
||||
BLENDER_BIN?="$(BUILD_DIR)/bin/blender"
|
||||
endif
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue