diff options
| author | assiduous <assiduous@diligentgraphics.com> | 2020-11-22 02:53:40 +0000 |
|---|---|---|
| committer | assiduous <assiduous@diligentgraphics.com> | 2020-11-22 02:53:40 +0000 |
| commit | a585921c34aefab82f3a769cf5d0fefbb7409b88 (patch) | |
| tree | eebcb95d0852805b439cb1abfa8c31a3389f28a4 /Graphics/GraphicsEngineD3D12 | |
| parent | Fixed CMake generation error when CMAKE_VS_WINDOWS_TARGET_PALTFORM_VERSION is... (diff) | |
| download | DiligentCore-a585921c34aefab82f3a769cf5d0fefbb7409b88.tar.gz DiligentCore-a585921c34aefab82f3a769cf5d0fefbb7409b88.zip | |
D3D12 CMake: fixed WinSDK version comparison
Diffstat (limited to 'Graphics/GraphicsEngineD3D12')
| -rw-r--r-- | Graphics/GraphicsEngineD3D12/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Graphics/GraphicsEngineD3D12/CMakeLists.txt b/Graphics/GraphicsEngineD3D12/CMakeLists.txt index 7f41de50..24c6201a 100644 --- a/Graphics/GraphicsEngineD3D12/CMakeLists.txt +++ b/Graphics/GraphicsEngineD3D12/CMakeLists.txt @@ -179,7 +179,7 @@ PUBLIC ) target_compile_definitions(Diligent-GraphicsEngineD3D12-shared PUBLIC ENGINE_DLL=1) -if("${CMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION}" STRGREATER_EQUAL "10.0.19041.0") +if("${CMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION}" VERSION_GREATER_EQUAL "10.0.19041.0") 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() |
