mirror of
https://github.com/glfw/glfw.git
synced 2025-04-15 05:12:01 +00:00
Revert change of WINVER in Cmake as it is required for GLFW to compile on Windows XP
This commit is contained in:
parent
1e8e54aaa2
commit
af9381a513
@ -282,7 +282,7 @@ endif()
|
|||||||
# win32_platform.h. We define them here until a saner solution can be found
|
# 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.
|
# NOTE: MinGW-w64 and Visual C++ do /not/ need this hack.
|
||||||
if (MINGW)
|
if (MINGW)
|
||||||
target_compile_definitions(glfw PRIVATE WINVER=0x0601)
|
target_compile_definitions(glfw PRIVATE WINVER=0x0501)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# Workaround for legacy MinGW not providing XInput and DirectInput
|
# Workaround for legacy MinGW not providing XInput and DirectInput
|
||||||
|
Loading…
Reference in New Issue
Block a user