We require Visual Studio 2015+

References:
- https://github.com/Project-OSRM/osrm-backend/issues/2341#issuecomment-216231618
This commit is contained in:
Daniel J. Hofmann 2016-05-02 15:32:25 +02:00 committed by Patrick Niklaus
parent 59168e21b4
commit 98937b187f
No known key found for this signature in database
GPG Key ID: E426891B5F978B1B
2 changed files with 4 additions and 4 deletions

View File

@ -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)

View File

@ -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)