make.bat : fix release build not getting the right settings.
authorRay Molenkamp <github@lazydodo.com>
Tue, 29 May 2018 03:50:59 +0000 (21:50 -0600)
committerRay Molenkamp <github@lazydodo.com>
Tue, 29 May 2018 03:50:59 +0000 (21:50 -0600)
build_files/windows/parse_arguments.cmd

index 016bc87..a8956d3 100644 (file)
@@ -40,6 +40,7 @@ if NOT "%1" == "" (
                set BUILD_CMAKE_ARGS=%BUILD_CMAKE_ARGS%
                set WITH_CLANG=1
        ) else if "%1" == "release" (
+               set BUILD_CMAKE_ARGS=%BUILD_CMAKE_ARGS% -C"%BLENDER_DIR%\build_files\cmake\config\blender_release.cmake"
                set TARGET=Release
        ) else if "%1" == "x86" (
                set BUILD_ARCH=x86