We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 74cced2 commit b42776aCopy full SHA for b42776a
Graphics/SuperResolution/CMakeLists.txt
@@ -8,7 +8,7 @@ set(DILIGENT_DLSS_SUPPORTED FALSE CACHE INTERNAL "DLSS is not supported")
8
set(DILIGENT_DSR_SUPPORTED FALSE CACHE INTERNAL "DirectSR is not supported")
9
set(DILIGENT_FSR_SUPPORTED TRUE CACHE INTERNAL "FSR is not supported")
10
11
-if(PLATFORM_WIN32 AND NOT MINGW_BUILD AND CMAKE_SIZEOF_VOID_P EQUAL 8)
+if(PLATFORM_WIN32 AND NOT MINGW_BUILD AND (CMAKE_SIZEOF_VOID_P EQUAL 8) AND ("${WINDOWS_SDK_VERSION}" VERSION_GREATER_EQUAL "10.0.26100.0"))
12
if (D3D11_SUPPORTED OR D3D12_SUPPORTED OR VULKAN_SUPPORTED)
13
set(DILIGENT_DLSS_SUPPORTED TRUE CACHE INTERNAL "DLSS is supported on Win32 platform")
14
endif()
0 commit comments