VS: Fix MSVC_IDE definition recently broken by refactoring

In commit 485a940e (VS: Simplify MSVC version reporting, 2012-08-23) we
accidentally flipped the 0/1 values of MSVC_IDE.  Flip them back and
teach the CheckCompilerRelatedVariables test to check the variable.
This commit is contained in:
Brad King
2012-08-30 16:08:16 -04:00
parent 32b7c72623
commit 16fa7b7395
2 changed files with 13 additions and 2 deletions

View File

@@ -56,9 +56,9 @@ enable_language(RC)
set(CMAKE_COMPILE_RESOURCE "rc <FLAGS> /fo<OBJECT> <SOURCE>")
if("${CMAKE_GENERATOR}" MATCHES "Visual Studio")
set(MSVC_IDE 0)
else()
set(MSVC_IDE 1)
else()
set(MSVC_IDE 0)
endif()
if(NOT MSVC_VERSION)