summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2015-03-04 21:23:31 +0000
committerJosé Fonseca <jfonseca@vmware.com>2015-03-04 21:23:31 +0000
commit15eafa9acd4ef6339ab5aa62efafdde2796c6ccb (patch)
treedab16a3228c65adce279576f3462f799d43e07b8
parenta1ddea3133e0807350326cee5dcf0d06fad00c08 (diff)
cmake: Require MSVS 2013.
We already require a very recent Windows SDK, so no point in being coy about requiring MSVS 2013.
-rw-r--r--CMakeLists.txt6
-rw-r--r--docs/INSTALL.markdown2
2 files changed, 3 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 6ba5d5ac..9223713d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -156,10 +156,8 @@ else (WIN32)
endif ()
if (MSVC)
- # Use bundled stdint.h for older MSVC versions
- check_include_file_cxx (stdint.h HAVE_STDINT_H)
- if (NOT HAVE_STDINT_H)
- include_directories (${CMAKE_CURRENT_SOURCE_DIR}/thirdparty/msinttypes)
+ if (${MSVC_VERSION} LESS 1800)
+ message (FATAL_ERROR "Visual Studio 2013 or later required")
endif ()
# No RTTI required
diff --git a/docs/INSTALL.markdown b/docs/INSTALL.markdown
index 8942881e..90cfe3fc 100644
--- a/docs/INSTALL.markdown
+++ b/docs/INSTALL.markdown
@@ -106,7 +106,7 @@ build process. It expects a linaro-type of Android NDK to be present in
Additional requirements:
-* Microsoft Visual Studio (tested with 2013 version)
+* Microsoft Visual Studio 2013 or newer (tested with 2013)
* [Windows 8.1 SDK](http://msdn.microsoft.com/en-us/windows/desktop/bg162891.aspx)
for D3D11.2 headers.