Kaynağa Gözat

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

Fixes Bugzilla #4262.
Ryan C. Gordon 7 yıl önce
ebeveyn
işleme
c19516b50c
1 değiştirilmiş dosya ile 1 ekleme ve 0 silme
  1. 1 0
      CMakeLists.txt

+ 1 - 0
CMakeLists.txt

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