cmake: correctly report Vulkan support at configure time (thanks, Tiago!).
authorRyan C. Gordon <icculus@icculus.org>
Tue, 18 Sep 2018 11:49:42 -0400
changeset 12195367b9a5e9622
parent 12194 56d508cebb46
child 12196 b504b29c3831
cmake: correctly report Vulkan support at configure time (thanks, Tiago!).

Fixes Bugzilla #4262.
CMakeLists.txt
     1.1 --- a/CMakeLists.txt	Mon Sep 17 12:08:05 2018 -0700
     1.2 +++ b/CMakeLists.txt	Tue Sep 18 11:49:42 2018 -0400
     1.3 @@ -1544,6 +1544,7 @@
     1.4  
     1.5  if(VIDEO_VULKAN)
     1.6    set(SDL_VIDEO_VULKAN 1)
     1.7 +  set(HAVE_VIDEO_VULKAN TRUE)
     1.8  endif()
     1.9  
    1.10  # Dummies