Browse Source

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

Fixes Bugzilla #4262.
Ryan C. Gordon 6 years ago
parent
commit
c19516b50c
1 changed files with 1 additions and 0 deletions
  1. 1 0
      CMakeLists.txt

+ 1 - 0
CMakeLists.txt

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