From 98937b187fd38e40c25bbbadc4873c23a5dd21b1 Mon Sep 17 00:00:00 2001 From: "Daniel J. Hofmann" Date: Mon, 2 May 2016 15:32:25 +0200 Subject: [PATCH] We require Visual Studio 2015+ References: - https://github.com/Project-OSRM/osrm-backend/issues/2341#issuecomment-216231618 --- CMakeLists.txt | 4 ++-- example/CMakeLists.txt | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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)