[Bf-blender-cvs] [dd19297] master: Set WIN32_WINNT for all windows platforms, not just x64

lazydodo noreply at git.blender.org
Sun Aug 7 19:56:17 CEST 2016


Commit: dd1929754f3f5746dea5837425ac8e8768aef2d9
Author: lazydodo
Date:   Sun Aug 7 11:00:35 2016 -0600
Branches: master
https://developer.blender.org/rBdd1929754f3f5746dea5837425ac8e8768aef2d9

Set WIN32_WINNT for all windows platforms, not just x64

===================================================================

M	CMakeLists.txt

===================================================================

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 24b4cb3..74eb61b 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)




More information about the Bf-blender-cvs mailing list