Added detection of Visual C++ 2011 in CMake files

This commit is contained in:
Laurent Gomila 2011-12-30 20:33:37 +01:00
parent 87b7676b95
commit bb6ed5dd29

View File

@ -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")