Skip to content

Commit 2453f6a

Browse files
committed
This should fix broken VS2019 build
1 parent f0aecc9 commit 2453f6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builds/win32/setenvvar.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ rem version using the available env vars so we test to see if the runtime dir
119119
rem exists and if not we fall back to 3.
120120
rem NOTE 2 This code is likely to break again in the future !!!!
121121
set MSVC_RUNTIME_MINOR_VERSION=%VCToolsVersion:~3,1%
122-
if not exist %VCToolsRedistDir%%VSCMD_ARG_TGT_ARCH%\Microsoft.VC%MSVC_RUNTIME_MAJOR_VERSION%%MSVC_RUNTIME_MINOR_VERSION%.CRT (
122+
if not exist "%VCToolsRedistDir%%VSCMD_ARG_TGT_ARCH%\Microsoft.VC%MSVC_RUNTIME_MAJOR_VERSION%%MSVC_RUNTIME_MINOR_VERSION%.CRT" (
123123
set MSVC_RUNTIME_MINOR_VERSION=3
124124
)
125125
set MSVC_RUNTIME_LIBRARY_VERSION=%MSVC_RUNTIME_MAJOR_VERSION%%MSVC_RUNTIME_MINOR_VERSION%

0 commit comments

Comments
 (0)