summaryrefslogtreecommitdiffstats
path: root/Modules/Platform
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2012-08-31 11:24:53 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2012-08-31 11:24:53 (GMT)
commit25b0d94678a99616d108ad9e93574b55f1d14e28 (patch)
treee1f6f872a0748dc26f804ee038fbaa761a3bf9e2 /Modules/Platform
parent4bc8879e847fcad84926828b57c740910a327f33 (diff)
parent16fa7b73958ca52bebd0d3a2dd6374bd391ed64d (diff)
downloadCMake-25b0d94678a99616d108ad9e93574b55f1d14e28.zip
CMake-25b0d94678a99616d108ad9e93574b55f1d14e28.tar.gz
CMake-25b0d94678a99616d108ad9e93574b55f1d14e28.tar.bz2
Merge topic 'msvc-compiler-info'
16fa7b7 VS: Fix MSVC_IDE definition recently broken by refactoring
Diffstat (limited to 'Modules/Platform')
-rw-r--r--Modules/Platform/Windows-MSVC.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/Platform/Windows-MSVC.cmake b/Modules/Platform/Windows-MSVC.cmake
index b3cb19b..238aa24 100644
--- a/Modules/Platform/Windows-MSVC.cmake
+++ b/Modules/Platform/Windows-MSVC.cmake
@@ -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)