From 17c77c719af7910b2aa2e19acb7843224614bdee Mon Sep 17 00:00:00 2001 From: assiduous Date: Fri, 11 Sep 2020 11:48:41 -0700 Subject: Fixed CMake issues with CMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION not being defined for Win8.1; disabled DXC tests --- Graphics/GraphicsEngineD3D12/CMakeLists.txt | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'Graphics/GraphicsEngineD3D12') 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) -- cgit v1.2.3