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
2 changed files with 4 additions and 4 deletions
+2 -2
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)