build: Enable the Android Vulkan platform when applicable.

This commit is contained in:
Ryan Pavlik 2020-07-16 15:21:41 -05:00
parent 8fdfb42d21
commit 1476d396f8
2 changed files with 5 additions and 0 deletions

View file

@ -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)

View file

@ -14,3 +14,5 @@
#cmakedefine VK_USE_PLATFORM_XLIB_XRANDR_EXT
#cmakedefine VK_USE_PLATFORM_WAYLAND_KHR
#cmakedefine VK_USE_PLATFORM_ANDROID_KHR