forked from bartvdbraak/blender
Set WIN32_WINNT for all windows platforms, not just x64
This commit is contained in:
parent
0b68c68006
commit
dd1929754f
@ -1351,10 +1351,8 @@ elseif(WIN32)
|
|||||||
# MSVC11 needs _ALLOW_KEYWORD_MACROS to build
|
# MSVC11 needs _ALLOW_KEYWORD_MACROS to build
|
||||||
add_definitions(-D_ALLOW_KEYWORD_MACROS)
|
add_definitions(-D_ALLOW_KEYWORD_MACROS)
|
||||||
|
|
||||||
if(CMAKE_CL_64)
|
# We want to support Vista level ABI
|
||||||
# We want to support Vista level ABI for x64
|
|
||||||
add_definitions(-D_WIN32_WINNT=0x600)
|
add_definitions(-D_WIN32_WINNT=0x600)
|
||||||
endif()
|
|
||||||
|
|
||||||
# Make cmake find the msvc redistributables
|
# Make cmake find the msvc redistributables
|
||||||
set(CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP TRUE)
|
set(CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP TRUE)
|
||||||
|
Loading…
Reference in New Issue
Block a user