mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-18 08:18:07 +00:00
qb: Enable vulkan for Win32.
The check_lib function does not seem able to detect vulkan on windows, this replaces a hack in Makefile.common that does the same, but while allowing C89_BUILD=1 and --disable-vulkan to work.
This commit is contained in:
parent
5b944a0e65
commit
8287a961e4
@ -436,7 +436,12 @@ fi
|
||||
|
||||
check_lib '' STRCASESTR "$CLIB" strcasestr
|
||||
check_lib '' MMAP "$CLIB" mmap
|
||||
check_lib '' VULKAN -lvulkan vkCreateInstance
|
||||
|
||||
if [ "$HAVE_VULKAN" != "no" ] && [ "$OS" = 'Win32' ]; then
|
||||
HAVE_VULKAN=yes
|
||||
else
|
||||
check_lib '' VULKAN -lvulkan vkCreateInstance
|
||||
fi
|
||||
|
||||
check_pkgconf PYTHON python3
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user