(Libretro) Makefile Tweak

This commit is contained in:
Gabriel Morazán 2023-01-10 11:25:19 -04:00 committed by GitHub
parent ffb8a9be47
commit 6c2f830d3b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -350,7 +350,7 @@ else ifneq (,$(findstring windows_msvc2019,$(platform)))
fix_path = $(subst $(SPACE),\ ,$(subst \,/,$1))
VSCommand := bash VSWhere.sh -latest -property installationPath
VSInstallPathw := $(shell cmd /c "$(VSCommand)")
VSInstallPathw := $(shell cmd //c "$(VSCommand)")
VSInstallPath := $(shell cygpath "$(VSInstallPathw)")
WindowsSdkDir ?= $(call reg_query,InstallationFolder,HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Microsoft SDKs\Windows\v10.0)