summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineVulkan
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2019-01-19 07:44:49 +0000
committerEgor Yusov <egor.yusov@gmail.com>2019-01-19 07:44:49 +0000
commitba9e4f62f97c1244fc85914e9a05ad7324b2e65f (patch)
treeae41544784e50540c2c98a06fd9a2e8792d3f6f2 /Graphics/GraphicsEngineVulkan
parentUpdated cmake commands to build combined DiligentCore library on Linux (diff)
downloadDiligentCore-ba9e4f62f97c1244fc85914e9a05ad7324b2e65f.tar.gz
DiligentCore-ba9e4f62f97c1244fc85914e9a05ad7324b2e65f.zip
Renamed NO_DIRECT3D11, NO_DIRECT3D12 cmake options to DILIGENT_NO_*
Diffstat (limited to 'Graphics/GraphicsEngineVulkan')
-rw-r--r--Graphics/GraphicsEngineVulkan/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Graphics/GraphicsEngineVulkan/CMakeLists.txt b/Graphics/GraphicsEngineVulkan/CMakeLists.txt
index e4be34e3..40f4a22d 100644
--- a/Graphics/GraphicsEngineVulkan/CMakeLists.txt
+++ b/Graphics/GraphicsEngineVulkan/CMakeLists.txt
@@ -217,12 +217,12 @@ else()
message(FATAL_ERROR "Unknown platform")
endif()
-if (${NO_GLSLANG})
+if (${DILIGENT_NO_GLSLANG})
message("GLSLang is not being built. Vulkan backend will only be able to consume SPIRV byte code.")
endif()
target_compile_definitions(GraphicsEngineVk-shared PRIVATE ${PRIVATE_COMPILE_DEFINITIONS} ENGINE_DLL=1)
-target_compile_definitions(GraphicsEngineVk-static PRIVATE ${PRIVATE_COMPILE_DEFINITIONS} NO_GLSLANG=$<BOOL:${NO_GLSLANG}>)
+target_compile_definitions(GraphicsEngineVk-static PRIVATE ${PRIVATE_COMPILE_DEFINITIONS} NO_GLSLANG=$<BOOL:${DILIGENT_NO_GLSLANG}>)
if(PLATFORM_WIN32)