mirror of
https://github.com/thunderbrewhq/system.git
synced 2026-02-03 16:39:07 +00:00
feat(cmake): define _WIN32_WINNT to be 0x601, enforcing at least Windows 7
This commit is contained in:
parent
d5b14bb96b
commit
3be6c8b2c6
1 changed files with 3 additions and 0 deletions
|
|
@ -55,6 +55,9 @@ if(${WHOA_SYSTEM_WIN})
|
|||
set(WHOA_SYSTEM_VERSION ${WHOA_WIN_UNK})
|
||||
endif()
|
||||
|
||||
# Windows 7 system minimum
|
||||
add_definitions(-D_WIN32_WINNT=0x601)
|
||||
|
||||
add_definitions(-DWHOA_SYSTEM_VERSION=${WHOA_SYSTEM_VERSION})
|
||||
elseif(${WHOA_SYSTEM_MAC})
|
||||
if(${CMAKE_SYSTEM_VERSION} EQUAL "10.8")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue