[Bf-blender-cvs] [4c47a71] master: CMake: Edit recent commit, allow 64bit msvc2008

Campbell Barton noreply at git.blender.org
Mon May 5 22:13:38 CEST 2014


Commit: 4c47a71e558bb00dde1891e0c3b903ac078d5e91
Author: Campbell Barton
Date:   Tue May 6 06:13:07 2014 +1000
https://developer.blender.org/rB4c47a71e558bb00dde1891e0c3b903ac078d5e91

CMake: Edit recent commit, allow 64bit msvc2008

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

M	CMakeLists.txt

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

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 0b3874c..4a6aced 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -959,8 +959,8 @@ elseif(WIN32)
 	if(MSVC)
 
 		# drop support for older MSVC
-		if(MSVC_VERSION VERSION_LESS 1800)
-			message(FATAL_ERROR "MSVC versions older then 2013 are no longer supported")
+		if(MSVC_VERSION VERSION_LESS 1800 AND (NOT CMAKE_CL_64))
+			message(FATAL_ERROR "MSVC versions older than 2013 are no longer supported")
 		endif()
 
 		set(PLATFORM_LINKLIBS ws2_32 vfw32 winmm kernel32 user32 gdi32 comdlg32 advapi32 shfolder shell32 ole32 oleaut32 uuid psapi)




More information about the Bf-blender-cvs mailing list