[Bf-blender-cvs] [3342114d317] gsoc-2018-many-light-sampling: make.bat: fix support for building with just the build tools installed.

Ray Molenkamp noreply at git.blender.org
Fri Jun 1 16:18:22 CEST 2018


Commit: 3342114d31752a9e73823330e4b85070293fb694
Author: Ray Molenkamp
Date:   Wed May 30 10:54:06 2018 -0600
Branches: gsoc-2018-many-light-sampling
https://developer.blender.org/rB3342114d31752a9e73823330e4b85070293fb694

make.bat: fix support for building with just the build tools installed.

===================================================================

M	build_files/windows/detect_msvc2017.cmd

===================================================================

diff --git a/build_files/windows/detect_msvc2017.cmd b/build_files/windows/detect_msvc2017.cmd
index 6a82adb5a4d..90fad8744b5 100644
--- a/build_files/windows/detect_msvc2017.cmd
+++ b/build_files/windows/detect_msvc2017.cmd
@@ -12,7 +12,7 @@ if not exist "%vs_where%" (
 		goto FAIL
 	)
 )
-for /f "usebackq tokens=1* delims=: " %%i in (`"%vs_where%" -latest %VSWHERE_ARGS% -requires Microsoft.VisualStudio.Component.VC.Tools.x86.x64`) do (
+for /f "usebackq tokens=1* delims=: " %%i in (`"%vs_where%" -products * -latest %VSWHERE_ARGS% -requires Microsoft.VisualStudio.Component.VC.Tools.x86.x64`) do (
 	if /i "%%i"=="installationPath" set VS_InstallDir=%%j
 )



More information about the Bf-blender-cvs mailing list