mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-28 01:18:31 +00:00
build: Enable the Android Vulkan platform when applicable.
This commit is contained in:
parent
8fdfb42d21
commit
1476d396f8
|
@ -155,6 +155,9 @@ endif()
|
|||
if(XRT_HAVE_WAYLAND)
|
||||
set(VK_USE_PLATFORM_WAYLAND_KHR TRUE)
|
||||
endif()
|
||||
if(ANDROID)
|
||||
set(VK_USE_PLATFORM_ANDROID_KHR TRUE)
|
||||
endif()
|
||||
|
||||
|
||||
if(NOT MSVC)
|
||||
|
|
|
@ -14,3 +14,5 @@
|
|||
#cmakedefine VK_USE_PLATFORM_XLIB_XRANDR_EXT
|
||||
|
||||
#cmakedefine VK_USE_PLATFORM_WAYLAND_KHR
|
||||
|
||||
#cmakedefine VK_USE_PLATFORM_ANDROID_KHR
|
||||
|
|
Loading…
Reference in a new issue