diff --git a/CMakeLists.txt b/CMakeLists.txt index 84b5fe76e..865675224 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -25,8 +25,8 @@ else() message(WARNING "Building on a 32 bit system is unsupported") endif() -if(WIN32 AND MSVC_VERSION LESS 1800) - message(FATAL_ERROR "Building with Microsoft compiler needs Visual Studio 2013 or later (Express version works too)") +if(WIN32 AND MSVC_VERSION LESS 1900) + message(FATAL_ERROR "Building with Microsoft compiler needs Latest Visual Studio 2015 (Community or better)") endif() option(ENABLE_CCACHE "Speed up incremental rebuilds via ccache" ON) diff --git a/example/CMakeLists.txt b/example/CMakeLists.txt index 86a8a7f10..9ad67cb89 100644 --- a/example/CMakeLists.txt +++ b/example/CMakeLists.txt @@ -19,8 +19,8 @@ else() message(WARNING "Building on a 32 bit system is unsupported") endif() -if(WIN32 AND MSVC_VERSION LESS 1800) - message(FATAL_ERROR "Building with Microsoft compiler needs Visual Studio 2013 or later (Express version works too)") +if(WIN32 AND MSVC_VERSION LESS 1900) + message(FATAL_ERROR "Building with Microsoft compiler needs Latest Visual Studio 2015 (Community or better)") endif() add_executable(osrm-example example.cpp)