mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 16:58:40 -04:00
makepanda: look in correct location for VC 2017 dlls
This commit is contained in:
parent
df8ccdb7ab
commit
262f8b7643
@ -3230,9 +3230,8 @@ if tp_dir is not None:
|
|||||||
|
|
||||||
# Copy over the MSVC runtime.
|
# Copy over the MSVC runtime.
|
||||||
if GetTarget() == 'windows' and "VISUALSTUDIO" in SDK:
|
if GetTarget() == 'windows' and "VISUALSTUDIO" in SDK:
|
||||||
vsver = "%s%s" % SDK["VISUALSTUDIO_VERSION"]
|
|
||||||
vcver = "%s%s" % (SDK["MSVC_VERSION"][0], 0) # ignore minor version.
|
vcver = "%s%s" % (SDK["MSVC_VERSION"][0], 0) # ignore minor version.
|
||||||
crtname = "Microsoft.VC%s.CRT" % (vsver)
|
crtname = "Microsoft.VC%s.CRT" % (vcver)
|
||||||
if ("VCTOOLSVERSION" in SDK):
|
if ("VCTOOLSVERSION" in SDK):
|
||||||
dir = os.path.join(SDK["VISUALSTUDIO"], "VC", "Redist", "MSVC", SDK["VCTOOLSVERSION"], "onecore", GetTargetArch(), crtname)
|
dir = os.path.join(SDK["VISUALSTUDIO"], "VC", "Redist", "MSVC", SDK["VCTOOLSVERSION"], "onecore", GetTargetArch(), crtname)
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user