[Bf-blender-cvs] [c0f42a7526c] master: make.bat: fix support for building with just the build tools installed.

Ray Molenkamp noreply at git.blender.org
Wed May 30 19:11:43 CEST 2018


Commit: c0f42a7526c2bffee081135ea6e9420813b4c16e
Author: Ray Molenkamp
Date:   Wed May 30 10:54:06 2018 -0600
Branches: master
https://developer.blender.org/rBc0f42a7526c2bffee081135ea6e9420813b4c16e

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