diff options
| author | assiduous <assiduous@diligentgraphics.com> | 2020-09-07 23:32:06 +0000 |
|---|---|---|
| committer | assiduous <assiduous@diligentgraphics.com> | 2020-09-09 16:11:57 +0000 |
| commit | 12ed4cafa1f23d4a98b24042af6590ecdc899fb3 (patch) | |
| tree | dbe42b424d70625c94160be41d3ec396c5691158 | |
| parent | added IDxCompilerLibrary interface. DXCompilerBase moved to platform specific... (diff) | |
| download | DiligentCore-12ed4cafa1f23d4a98b24042af6590ecdc899fb3.tar.gz DiligentCore-12ed4cafa1f23d4a98b24042af6590ecdc899fb3.zip | |
Added DILIGENT_NO_FORMAT_VALIDATION cmake option
| -rw-r--r-- | CMakeLists.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index df0c38a1..539cd6be 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -158,6 +158,12 @@ endif() option(DILIGENT_NO_HLSL "Disable HLSL support in non-Direct3D backends" OFF) option(DILIGENT_NO_FORMAT_VALIDATION "Disable source code format validation" OFF) +if(PLATFORM_ANDROID) + set(DILIGENT_NO_DXC_SPIRV ON CACHE INTERNAL "" FORCE) +else() + option(DILIGENT_NO_DXC_SPIRV "Disable DXCompiler for Vulkan backends" OFF) +endif() + option(DILIGENT_NO_DIRECT3D11 "Disable Direct3D11 backend" OFF) option(DILIGENT_NO_DIRECT3D12 "Disable Direct3D12 backend" OFF) option(DILIGENT_NO_OPENGL "Disable OpenGL/GLES backend" OFF) |
