8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-22 16:43:03 +01:00

This should fix broken VS2019 build

This commit is contained in:
Paul Reeves 2024-09-20 10:54:42 +02:00
parent 2c8957ac48
commit a244ce67c9

View File

@ -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%