Commit c19516b50cda2e8db43f1e248798dfee49e90c7c

Ryan C. Gordon 2018-09-18T11:49:42

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

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/CMakeLists.txt b/CMakeLists.txt
index bd0ac63..1a7fe19 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1544,6 +1544,7 @@ endif()
 
 if(VIDEO_VULKAN)
   set(SDL_VIDEO_VULKAN 1)
+  set(HAVE_VIDEO_VULKAN TRUE)
 endif()
 
 # Dummies