diff --git a/CMakeLists.txt b/CMakeLists.txt index efb8aff8b37eeaa4855f4ab80b6b15d4a7e2d9ae..b4fca342233a8d613cd7d129074ca49d253d9f1e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -181,6 +181,10 @@ 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)