cmake: correctly report Vulkan support at configure time (thanks, Tiago!).

Fixes Bugzilla #4262.

--HG--
extra : amend_source : 7b1ebe533fe01925ace83d32db188c2f002fc9b1
This commit is contained in:
Ryan C. Gordon 2018-09-18 11:49:42 -04:00
parent dc60849e53
commit a2a70b23b1

View file

@ -1544,6 +1544,7 @@ endif()
if(VIDEO_VULKAN) if(VIDEO_VULKAN)
set(SDL_VIDEO_VULKAN 1) set(SDL_VIDEO_VULKAN 1)
set(HAVE_VIDEO_VULKAN TRUE)
endif() endif()
# Dummies # Dummies