mirror of
https://github.com/libretro/RetroArch
synced 2025-03-23 19:21:03 +00:00
allow --disable-vulkan on Windows
This commit is contained in:
parent
8aba35ef00
commit
99508cfd64
@ -441,8 +441,11 @@ ifeq ($(HAVE_NEON),1)
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq ($(findstring Win32,$(OS)),)
|
ifneq ($(findstring Win32,$(OS)),)
|
||||||
HAVE_VULKAN=1
|
# if user explicitly sets --disable-vulkan on Windows, then disable it
|
||||||
DEFINES += -DHAVE_VULKAN
|
ifneq ($(HAVE_NO_VULKAN),1)
|
||||||
|
HAVE_VULKAN=1
|
||||||
|
DEFINES += -DHAVE_VULKAN
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
HW_CONTEXT_MENU_DRIVERS=$(HAVE_RGUI)
|
HW_CONTEXT_MENU_DRIVERS=$(HAVE_RGUI)
|
||||||
|
@ -72,6 +72,7 @@ parse_input() # Parse stuff :V
|
|||||||
--disable-*)
|
--disable-*)
|
||||||
opt_exists "${1##--disable-}" "$1"
|
opt_exists "${1##--disable-}" "$1"
|
||||||
eval "HAVE_$opt=no"
|
eval "HAVE_$opt=no"
|
||||||
|
eval "HAVE_NO_$opt=yes"
|
||||||
;;
|
;;
|
||||||
--with-*)
|
--with-*)
|
||||||
arg="${1##--with-}"
|
arg="${1##--with-}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user