From bb6ed5dd29e2a68e8859eb8a9241a1e0e537df21 Mon Sep 17 00:00:00 2001 From: Laurent Gomila Date: Fri, 30 Dec 2011 20:33:37 +0100 Subject: [PATCH] Added detection of Visual C++ 2011 in CMake files --- cmake/Config.cmake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmake/Config.cmake b/cmake/Config.cmake index 4349945d5..2c98f26dd 100644 --- a/cmake/Config.cmake +++ b/cmake/Config.cmake @@ -57,6 +57,8 @@ elseif(MSVC) set(MSVC_VERSION 2008) elseif(MSVC_VERSION EQUAL 1600) set(MSVC_VERSION 2010) + elseif(MSVC_VERSION EQUAL 1700) + set(MSVC_VERSION 2011) endif() else() message(FATAL_ERROR "Unsupported compiler")