+
+# For MSVC, at least do a version sanity check
+elseif("${CMAKE_CXX_COMPILER_ID}" MATCHES "MSVC")
+ if (CMAKE_CXX_COMPILER_VERSION VERSION_LESS "18.0")
+ message(WARNING "Your compiler is too old; we expect at least Visual Studio Nov 2013 CTP (MSVC 18). Your build will likely fail.")
+ endif()
+
+# Unknown/unsupported compiler
+else()
+ message(WARNING "Unknown or unsupported compiler. Make sure to enable C++11 support. Good luck.")