From 999d1f74f767a339040c4778d2021ed566fba1d1 Mon Sep 17 00:00:00 2001 From: rdb Date: Wed, 14 Aug 2019 09:01:10 +0200 Subject: [PATCH] makepanda: fix locating UCRT when building with Windows SDK 7.1A [skip ci] --- makepanda/makepandacore.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makepanda/makepandacore.py b/makepanda/makepandacore.py index b887342985..890b55b83b 100644 --- a/makepanda/makepandacore.py +++ b/makepanda/makepandacore.py @@ -2789,7 +2789,7 @@ def SetupVisualStudioEnviron(): # Targeting the 7.1 SDK (which is the only way to have Windows XP support) # with Visual Studio 2015 requires use of the Universal CRT. - if winsdk_ver == '7.1' and SDK["VISUALSTUDIO_VERSION"] >= (14,0): + if winsdk_ver in ('7.1', '7.1A') and SDK["VISUALSTUDIO_VERSION"] >= (14,0): win_kit = GetRegistryKey("SOFTWARE\\Microsoft\\Windows Kits\\Installed Roots", "KitsRoot10") # Fallback in case we can't read the registry.