diff options
author | lazydodo <github@lazydodo.com> | 2016-08-07 20:00:35 +0300 |
---|---|---|
committer | lazydodo <github@lazydodo.com> | 2016-08-07 20:00:35 +0300 |
commit | dd1929754f3f5746dea5837425ac8e8768aef2d9 (patch) | |
tree | 9ecda2f0515c96cf15cba974024863615044dafd /CMakeLists.txt | |
parent | 0b68c68006578bb5c2aec3f5fb698087c4fd0f4c (diff) |
Set WIN32_WINNT for all windows platforms, not just x64
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 24b4cb3a3cc..74eb61ba1f1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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) |