From 3670eec5dd9d88b149a43b89e02336be9cdd5f39 Mon Sep 17 00:00:00 2001 From: Laurent Gomila Date: Tue, 15 Oct 2013 07:55:01 +0200 Subject: [PATCH] Fixed MSVC version detection code in CMake files --- cmake/Config.cmake | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmake/Config.cmake b/cmake/Config.cmake index a2a31daed..5010f0d97 100644 --- a/cmake/Config.cmake +++ b/cmake/Config.cmake @@ -54,11 +54,11 @@ elseif(MSVC) set(SFML_COMPILER_MSVC 1) if(MSVC_VERSION EQUAL 1400) set(SFML_MSVC_VERSION 2005) - elseif(SFML_MSVC_VERSION EQUAL 1500) + elseif(MSVC_VERSION EQUAL 1500) set(SFML_MSVC_VERSION 2008) - elseif(SFML_MSVC_VERSION EQUAL 1600) + elseif(MSVC_VERSION EQUAL 1600) set(SFML_MSVC_VERSION 2010) - elseif(SFML_MSVC_VERSION EQUAL 1700) + elseif(MSVC_VERSION EQUAL 1700) set(SFML_MSVC_VERSION 2011) endif() else()