From af9381a51370ff7a117d9f69c8f750d3a6ae0821 Mon Sep 17 00:00:00 2001 From: Scr3amer Date: Fri, 31 Mar 2023 16:49:14 -0400 Subject: [PATCH] Revert change of WINVER in Cmake as it is required for GLFW to compile on Windows XP --- src/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index df61d604..01f191c9 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -282,7 +282,7 @@ endif() # win32_platform.h. We define them here until a saner solution can be found # NOTE: MinGW-w64 and Visual C++ do /not/ need this hack. if (MINGW) - target_compile_definitions(glfw PRIVATE WINVER=0x0601) + target_compile_definitions(glfw PRIVATE WINVER=0x0501) endif() # Workaround for legacy MinGW not providing XInput and DirectInput