make.bat: Fix rebuilds with custom build directory.
When calling make.bat multiple times to rebuild blender make.bat failed to rebuild if a custom build dir was set. reported and fixed on chat by @dgsantana
This commit is contained in:
parent
1ca5c8491d
commit
7d09c943f6
@ -13,7 +13,7 @@ if NOT "%1" == "" (
|
|||||||
set BUILD_TYPE=Debug
|
set BUILD_TYPE=Debug
|
||||||
REM Build Configurations
|
REM Build Configurations
|
||||||
) else if "%1" == "builddir" (
|
) else if "%1" == "builddir" (
|
||||||
set BUILD_DIR_OVERRRIDE="%BLENDER_DIR%..\%2"
|
set BUILD_DIR_OVERRRIDE=%BLENDER_DIR%..\%2
|
||||||
shift /1
|
shift /1
|
||||||
) else if "%1" == "with_tests" (
|
) else if "%1" == "with_tests" (
|
||||||
set TESTS_CMAKE_ARGS=%TESTS_CMAKE_ARGS% -DWITH_GTESTS=On
|
set TESTS_CMAKE_ARGS=%TESTS_CMAKE_ARGS% -DWITH_GTESTS=On
|
||||||
|
Loading…
Reference in New Issue
Block a user