Skip to content

Commit b46c3ae

Browse files
committed
Also use 0x0601 in CMakeLists.txt
1 parent 1074640 commit b46c3ae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,8 +204,8 @@ if (MINGW)
204204
set(CMAKE_SHARED_MODULE_PREFIX)
205205
set(CMAKE_STATIC_LIBRARY_PREFIX)
206206

207-
# 0x0A00 is Windows 10
208-
add_definitions(-D_WIN32_WINNT=0x0A00)
207+
# 0x0601 is Windows 7 - see also comments in autoconfig_msvc.h
208+
add_definitions(-D_WIN32_WINNT=0x0601)
209209
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -msse4 -std=c++20")
210210
endif()
211211

0 commit comments

Comments
 (0)