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

@ -225,7 +225,9 @@ const std::vector<std::unique_ptr<VideoBackendBase>>& VideoBackendBase::GetAvail
backends.push_back(std::make_unique<DX11::VideoBackend>());
backends.push_back(std::make_unique<DX12::VideoBackend>());
#endif
#ifdef USE_VULKAN
backends.push_back(std::make_unique<Vulkan::VideoBackend>());
#endif
#ifdef HAS_OPENGL
backends.push_back(std::make_unique<SW::VideoSoftware>());
#endif