diff options
author | Brad King <brad.king@kitware.com> | 2006-05-06 00:54:53 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2006-05-06 00:54:53 (GMT) |
commit | bc135b7fc219187b5154e13f3606b64759f269fc (patch) | |
tree | d0b6d5c12313ce87f732836400f42ed3d7d595be /Source/cmGlobalVisualStudio6Generator.cxx | |
parent | fad3e1dd77c430c90523bb10aafc848c26831d7c (diff) | |
download | CMake-bc135b7fc219187b5154e13f3606b64759f269fc.zip CMake-bc135b7fc219187b5154e13f3606b64759f269fc.tar.gz CMake-bc135b7fc219187b5154e13f3606b64759f269fc.tar.bz2 |
BUG: MSVC* variables should be set in IDE generators instead of just NMake.
Diffstat (limited to 'Source/cmGlobalVisualStudio6Generator.cxx')
-rw-r--r-- | Source/cmGlobalVisualStudio6Generator.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmGlobalVisualStudio6Generator.cxx b/Source/cmGlobalVisualStudio6Generator.cxx index d2b5b6f..164727a 100644 --- a/Source/cmGlobalVisualStudio6Generator.cxx +++ b/Source/cmGlobalVisualStudio6Generator.cxx @@ -32,6 +32,7 @@ void cmGlobalVisualStudio6Generator::EnableLanguage(std::vector<std::string>cons mf->AddDefinition("CMAKE_GENERATOR_RC", "rc"); mf->AddDefinition("CMAKE_GENERATOR_NO_COMPILER_ENV", "1"); mf->AddDefinition("CMAKE_GENERATOR_Fortran", "ifort"); + mf->AddDefinition("MSVC60", "1"); this->GenerateConfigurations(mf); this->cmGlobalGenerator::EnableLanguage(lang, mf); } |