summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends
diff options
context:
space:
mode:
authormazes-80 <noadresszesam@yahoo.fr>2018-09-03 18:09:23 +0200
committerLéo Lam <leo@leolam.fr>2020-10-23 20:14:46 +0200
commitf375ee72a2c8c04ce7d74425026a41011aa8f697 (patch)
tree75649b6c9d17222a31628e433f276af69e5057f9 /Source/Core/VideoBackends
parent908d6f8fa0bb68a48ed3ce966567ebf76abcf919 (diff)
CMake: Add option to enable/disable Vulkan video backend
Diffstat (limited to 'Source/Core/VideoBackends')
-rw-r--r--Source/Core/VideoBackends/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/Core/VideoBackends/CMakeLists.txt b/Source/Core/VideoBackends/CMakeLists.txt
index 51ea342826..3ab2d4c4e4 100644
--- a/Source/Core/VideoBackends/CMakeLists.txt
+++ b/Source/Core/VideoBackends/CMakeLists.txt
@@ -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()