cmake: update minimum required MSVC version to 2013 Update 4
commitd15a83a453c87b445d8abf19d82668bca1a389d4
authorEmil Velikov <emil.l.velikov@gmail.com>
Thu, 5 Feb 2015 17:18:37 +0000 (5 17:18 +0000)
committerChad Versace <chad.versace@intel.com>
Tue, 10 Feb 2015 19:35:38 +0000 (10 11:35 -0800)
tree092a02ae83fa9e4901839565304c0ce8719bbcf7
parent81b0d70f7b0e585561479ff3f3e81d349738b4a4
cmake: update minimum required MSVC version to 2013 Update 4

Currently we mix variable declarations and code, as allowed in the C99
standard. On the other hand, MSVC 2013 prior to Update 4, seems to have
problems with such code in some corner cases.

Considering it's a free update bump the requirement, and add an explicit
check in the build system. Latter of which shamelessly copied from piglit.

v2: Do not evaluate but check the MSVC variable. (Jose)

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
CMakeLists.txt
README.txt