From e5a67ab51ccf5afc69f83d9b04a3abfdbb6cf384 Mon Sep 17 00:00:00 2001 From: Armin Novak Date: Tue, 13 Aug 2019 10:11:33 +0200 Subject: [PATCH] Fix server compile against _WIN32_WINNT=0x601 --- server/Windows/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/Windows/CMakeLists.txt b/server/Windows/CMakeLists.txt index fc7b159f2482d..aed120586f9e9 100644 --- a/server/Windows/CMakeLists.txt +++ b/server/Windows/CMakeLists.txt @@ -88,7 +88,7 @@ else() endif() -if(CMAKE_WINDOWS_VERSION STREQUAL "WIN8") +if(NOT CMAKE_WINDOWS_VERSION STREQUAL "WINXP") set(${MODULE_PREFIX}_LIBS ${${MODULE_PREFIX}_LIBS} d3d11 dxgi dxguid) endif()