Commit 3bd6dce5 authored by Jose Fonseca's avatar Jose Fonseca

cmake: Simplify logic for MSVC 2013 U4.

Matches Waffle's https://github.com/waffle-gl/waffle/commit/d15a83a453c87b445d8abf19d82668bca1a389d4

Trivial.
parent 096e4bdb
......@@ -18,10 +18,8 @@ endif()
project (piglit)
# Require MSVC 2013 U4
if (MSVC)
if (${CMAKE_C_COMPILER_VERSION} VERSION_LESS 18.00.31101.0)
message (FATAL_ERROR "Visual Studio 2013 Update 4 or later required")
endif ()
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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment