summaryrefslogtreecommitdiffstats
path: root/Graphics
diff options
context:
space:
mode:
authorassiduous <assiduous@diligentgraphics.com>2020-11-30 20:21:14 +0000
committerassiduous <assiduous@diligentgraphics.com>2020-11-30 20:21:14 +0000
commit9c6fa1e6e4da6fa2c0281c2a613ce6810cfac575 (patch)
tree3de75ea122df26d97d0265573cf79c1ee06b4301 /Graphics
parentAnother minor update to SRGBAverage (diff)
downloadDiligentCore-9c6fa1e6e4da6fa2c0281c2a613ce6810cfac575.tar.gz
DiligentCore-9c6fa1e6e4da6fa2c0281c2a613ce6810cfac575.zip
Fixed MinGW build issue (closed https://github.com/DiligentGraphics/DiligentEngine/issues/113)
Diffstat (limited to 'Graphics')
-rw-r--r--Graphics/ShaderTools/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Graphics/ShaderTools/CMakeLists.txt b/Graphics/ShaderTools/CMakeLists.txt
index d876f4fc..b8201412 100644
--- a/Graphics/ShaderTools/CMakeLists.txt
+++ b/Graphics/ShaderTools/CMakeLists.txt
@@ -30,7 +30,7 @@ if(ENABLE_HLSL)
endif()
-if(PLATFORM_WIN32 OR PLATFORM_UNIVERSAL_WINDOWS OR PLATFORM_LINUX)
+if((PLATFORM_WIN32 AND NOT MINGW_BUILD) OR PLATFORM_UNIVERSAL_WINDOWS OR PLATFORM_LINUX)
set(DXC_SUPPORTED TRUE)
endif()