Skip to content
Snippets Groups Projects
Commit 93f32318 authored by Rashad Kanavath's avatar Rashad Kanavath
Browse files

COMP: warn users about unsupported msvc compiler version

parent 8bf4b792
No related branches found
No related tags found
No related merge requests found
...@@ -181,6 +181,10 @@ else() ...@@ -181,6 +181,10 @@ else()
set(OTB_CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS OFF) set(OTB_CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS OFF)
endif() 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 to activate deprecated classes
option(OTB_USE_DEPRECATED "Turn on the use and test of deprecated classes" OFF) option(OTB_USE_DEPRECATED "Turn on the use and test of deprecated classes" OFF)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment