From a244ce67c9af26373ef70fc2531d580b01dc7dec Mon Sep 17 00:00:00 2001 From: Paul Reeves Date: Fri, 20 Sep 2024 10:54:42 +0200 Subject: [PATCH] This should fix broken VS2019 build --- builds/win32/setenvvar.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builds/win32/setenvvar.bat b/builds/win32/setenvvar.bat index 3e2862411d..000c2d0b52 100644 --- a/builds/win32/setenvvar.bat +++ b/builds/win32/setenvvar.bat @@ -118,7 +118,7 @@ rem version using the available env vars so we test to see if the runtime dir rem exists and if not we fall back to 3. rem NOTE 2 This code is likely to break again in the future !!!! set MSVC_RUNTIME_MINOR_VERSION=%VCToolsVersion:~3,1% - if not exist %VCToolsRedistDir%%VSCMD_ARG_TGT_ARCH%\Microsoft.VC%MSVC_RUNTIME_MAJOR_VERSION%%MSVC_RUNTIME_MINOR_VERSION%.CRT ( + if not exist "%VCToolsRedistDir%%VSCMD_ARG_TGT_ARCH%\Microsoft.VC%MSVC_RUNTIME_MAJOR_VERSION%%MSVC_RUNTIME_MINOR_VERSION%.CRT" ( set MSVC_RUNTIME_MINOR_VERSION=3 ) set MSVC_RUNTIME_LIBRARY_VERSION=%MSVC_RUNTIME_MAJOR_VERSION%%MSVC_RUNTIME_MINOR_VERSION%