From 90886048117966d673e0a2493a3eae7ed959f607 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 6 May 2014 05:03:19 +1000 Subject: 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. --- CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 53dcb0ce4ad..37cabd00022 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 -- cgit v1.2.3