Commit: 90886048117966d673e0a2493a3eae7ed959f607
Author: Campbell Barton
Date:   Tue May 6 05:03:19 2014 +1000
https://developer.blender.org/rB90886048117966d673e0a2493a3eae7ed959f607

Drop support for MSVC versions older then 2013 with CMake

We get too many complaints about breakage and we intend to drop older versions 
soon anyway.

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

M       CMakeLists.txt

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

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 53dcb0c..37cabd0 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -956,6 +956,12 @@ elseif(WIN32)
        add_definitions(-DWIN32)
 
        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")
+               endif()
+
                set(PLATFORM_LINKLIBS ws2_32 vfw32 winmm kernel32 user32 gdi32 
comdlg32 advapi32 shfolder shell32 ole32 oleaut32 uuid psapi)
 
                # MSVC11 SDL is not hard linked to dxguid.lib

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to