summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose Fonseca <jfonseca@vmware.com>2015-02-04 15:01:29 +0000
committerJose Fonseca <jfonseca@vmware.com>2015-02-04 19:49:04 +0000
commit306f6ba9a22f496daefa211082cefa1c9ffcf9ab (patch)
tree46a639d01c8f9dc62576a2ba89b353407574dd1d
parent72d404a3cfd8739641f284ebcdb0c2b511628303 (diff)
cmake: Require MSVC 2013 Update 4.
It has importants fixes to C parser. Reviewed-by: Francisco Jerez <currojerez@riseup.net>
-rw-r--r--CMakeLists.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 162c4f49b..bb1f6857c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -12,9 +12,9 @@ INCLUDE (FindPkgConfig)
project (piglit)
-# Require MSVC 2013
-if (${MSVC} AND ${MSVC_VERSION} LESS 1800)
- message (FATAL_ERROR "Visual Studio 2013 or later required")
+# Require MSVC 2013 U4
+if (${MSVC} AND ${CMAKE_C_COMPILER_VERSION} VERSION_LESS 18.00.31101.0)
+ message (FATAL_ERROR "Visual Studio 2013 Update 4 or later required")
endif ()
find_package(Threads)