summaryrefslogtreecommitdiffstats
path: root/Graphics
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2019-01-09 05:44:07 +0000
committerEgor Yusov <egor.yusov@gmail.com>2019-01-09 05:44:07 +0000
commitffb59ad987e471b95aedb49005c4aa2dffd0d382 (patch)
tree1bb7e3c452e76e4a90b5d74bfe5a92767560238e /Graphics
parentAdded cmake options to selectively disable back-ends (diff)
downloadDiligentCore-ffb59ad987e471b95aedb49005c4aa2dffd0d382.tar.gz
DiligentCore-ffb59ad987e471b95aedb49005c4aa2dffd0d382.zip
Fixed cmake script to allow selectively disabling back-ends
Diffstat (limited to 'Graphics')
-rw-r--r--Graphics/CMakeLists.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/Graphics/CMakeLists.txt b/Graphics/CMakeLists.txt
index 5e36b8a1..7bdffe85 100644
--- a/Graphics/CMakeLists.txt
+++ b/Graphics/CMakeLists.txt
@@ -40,8 +40,11 @@ if(VULKAN_SUPPORTED)
add_subdirectory(GraphicsEngineVulkan)
endif()
-if(GL_SUPPORTED OR GLES_SUPPORTED)
+if(GL_SUPPORTED OR GLES_SUPPORTED OR VULKAN_SUPPORTED)
add_subdirectory(HLSL2GLSLConverterLib)
+endif()
+
+if(GL_SUPPORTED OR GLES_SUPPORTED)
add_subdirectory(GraphicsEngineOpenGL)
endif()