From 2f6d4b4b58ea290961dc983117d31b19e198403a Mon Sep 17 00:00:00 2001 From: Marc Schlaich Date: Tue, 11 Feb 2014 13:57:01 +0100 Subject: [PATCH] build, windows: do not fail on Windows SDK Prompt --- vcbuild.bat | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/vcbuild.bat b/vcbuild.bat index b491a9a0..df6eda01 100644 --- a/vcbuild.bat +++ b/vcbuild.bat @@ -41,6 +41,7 @@ shift goto next-arg :args-done +if defined WindowsSDKDir goto select-target if defined VCINSTALLDIR goto select-target @rem Look for Visual Studio 2013 @@ -111,10 +112,8 @@ echo Project files generated. if defined nobuild goto run @rem Check if VS build env is available -if not defined VCINSTALLDIR goto msbuild-not-found -goto msbuild-found - -:msbuild-not-found +if defined VCINSTALLDIR goto msbuild-found +if defined WindowsSDKDir goto msbuild-found echo Build skipped. To build, this file needs to run from VS cmd prompt. goto run