From bd85ecb76ce9d47ba6019216349342df854a48da Mon Sep 17 00:00:00 2001
From: Rashad Kanavath <rashad.kanavath@c-s.fr>
Date: Mon, 9 Jan 2017 05:48:37 +0100
Subject: [PATCH] CMake: warn user when using old msvc compiler(s)

---
 CMakeLists.txt | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index b4fca34223..efb8aff8b3 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -181,10 +181,6 @@ else()
   set(OTB_CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS OFF)
 endif()
 
-if(MSVC_VERSION LESS 1700)
-  message(WARNING "Your version of MSVC compiler is not supported by OTB!. You must upgrade MSVC to 1700 or higher.")
-endif()
-
 #-----------------------------------------------------------------------------
 # Option to activate deprecated classes
 option(OTB_USE_DEPRECATED "Turn on the use and test of deprecated classes" OFF)
-- 
GitLab