We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c77d7a commit 15dc2e9Copy full SHA for 15dc2e9
Graphics/GraphicsEngineD3D12/CMakeLists.txt
@@ -220,7 +220,7 @@ PUBLIC
220
)
221
target_compile_definitions(Diligent-GraphicsEngineD3D12-shared PUBLIC ENGINE_DLL=1)
222
223
-if("${CMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION}" VERSION_GREATER_EQUAL "10.0.19041.0")
+if("${WINDOWS_SDK_VERSION}" VERSION_GREATER_EQUAL "10.0.19041.0")
224
set(D3D12_H_HAS_MESH_SHADER ON CACHE INTERNAL "D3D12 headers support mesh shaders" FORCE)
225
target_compile_definitions(Diligent-GraphicsEngineD3D12-static PRIVATE D3D12_H_HAS_MESH_SHADER=1)
226
endif()
0 commit comments