Commit 1476d396 authored by Ryan Pavlik's avatar Ryan Pavlik
Browse files

build: Enable the Android Vulkan platform when applicable.

parent 8fdfb42d
......@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment