summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineD3D12
diff options
context:
space:
mode:
authorassiduous <assiduous@diligentgraphics.com>2020-09-11 18:48:41 +0000
committerassiduous <assiduous@diligentgraphics.com>2020-09-11 18:48:41 +0000
commit17c77c719af7910b2aa2e19acb7843224614bdee (patch)
treee4c9804cb5b0633bfee3052cdfee7627daef86ce /Graphics/GraphicsEngineD3D12
parentCMake: updated copy_required_dlls to take D3Dcompiler_47.dll from Win SDK (diff)
downloadDiligentCore-17c77c719af7910b2aa2e19acb7843224614bdee.tar.gz
DiligentCore-17c77c719af7910b2aa2e19acb7843224614bdee.zip
Fixed CMake issues with CMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION not being defined for Win8.1; disabled DXC tests
Diffstat (limited to 'Graphics/GraphicsEngineD3D12')
-rw-r--r--Graphics/GraphicsEngineD3D12/CMakeLists.txt5
1 files changed, 1 insertions, 4 deletions
diff --git a/Graphics/GraphicsEngineD3D12/CMakeLists.txt b/Graphics/GraphicsEngineD3D12/CMakeLists.txt
index 28e7abad..24696d7c 100644
--- a/Graphics/GraphicsEngineD3D12/CMakeLists.txt
+++ b/Graphics/GraphicsEngineD3D12/CMakeLists.txt
@@ -180,12 +180,9 @@ PUBLIC
target_compile_definitions(Diligent-GraphicsEngineD3D12-shared PUBLIC ENGINE_DLL=1)
if(${CMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION} STRGREATER_EQUAL "10.0.19041.0")
- set(D3D12_H_HAS_MESH_SHADER ON CACHE INTERNAL "" FORCE)
+ set(D3D12_H_HAS_MESH_SHADER ON CACHE INTERNAL "D3D12 headers support mesh shaders" FORCE)
target_compile_definitions(Diligent-GraphicsEngineD3D12-static PRIVATE D3D12_H_HAS_MESH_SHADER=1)
endif()
-if(${DILIGENT_HAS_D3D12_DXIL_COMPILER})
- target_compile_definitions(Diligent-GraphicsEngineD3D12-static PRIVATE DILIGENT_HAS_D3D12_DXIL_COMPILE=1)
-endif()
# Set output name to GraphicsEngineD3D12_{32|64}{r|d}
set_dll_output_name(Diligent-GraphicsEngineD3D12-shared GraphicsEngineD3D12)