Set WIN32_WINNT for all windows platforms, not just x64

This commit is contained in:
lazydodo 2016-08-07 11:00:35 -06:00
parent 0b68c68006
commit dd1929754f

@ -1351,10 +1351,8 @@ elseif(WIN32)
# MSVC11 needs _ALLOW_KEYWORD_MACROS to build
add_definitions(-D_ALLOW_KEYWORD_MACROS)
if(CMAKE_CL_64)
# We want to support Vista level ABI for x64
add_definitions(-D_WIN32_WINNT=0x600)
endif()
# We want to support Vista level ABI
add_definitions(-D_WIN32_WINNT=0x600)
# Make cmake find the msvc redistributables
set(CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP TRUE)