CMake: Add option to enable/disable Vulkan video backend

This commit is contained in:
mazes-80 2018-09-03 18:09:23 +02:00 committed by Léo Lam
commit f375ee72a2
No known key found for this signature in database
GPG key ID: 0DF30F9081000741
4 changed files with 16 additions and 3 deletions

View file

@ -1,7 +1,6 @@
add_subdirectory(OGL)
add_subdirectory(Null)
add_subdirectory(Software)
add_subdirectory(Vulkan)
if(CMAKE_SYSTEM_NAME STREQUAL "Windows")
add_subdirectory(D3DCommon)
@ -9,3 +8,6 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Windows")
add_subdirectory(D3D12)
endif()
if(ENABLE_VULKAN)
add_subdirectory(Vulkan)
endif()