summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalVisualStudio6Generator.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2002-12-06 15:02:19 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2002-12-06 15:02:19 (GMT)
commit35fb6f22baa7b3f1ca9f7e29be41c4b91b14554a (patch)
treeefede790843f1b48a7eaddd52a919886970ce841 /Source/cmGlobalVisualStudio6Generator.cxx
parent19aa18fd2622ae22934a4a831c6de3b6af20f151 (diff)
downloadCMake-35fb6f22baa7b3f1ca9f7e29be41c4b91b14554a.zip
CMake-35fb6f22baa7b3f1ca9f7e29be41c4b91b14554a.tar.gz
CMake-35fb6f22baa7b3f1ca9f7e29be41c4b91b14554a.tar.bz2
fix for generator picked compilers
Diffstat (limited to 'Source/cmGlobalVisualStudio6Generator.cxx')
-rw-r--r--Source/cmGlobalVisualStudio6Generator.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmGlobalVisualStudio6Generator.cxx b/Source/cmGlobalVisualStudio6Generator.cxx
index a3d5f84..ea3245a 100644
--- a/Source/cmGlobalVisualStudio6Generator.cxx
+++ b/Source/cmGlobalVisualStudio6Generator.cxx
@@ -27,6 +27,8 @@ cmGlobalVisualStudio6Generator::cmGlobalVisualStudio6Generator()
void cmGlobalVisualStudio6Generator::EnableLanguage(const char* lang,
cmMakefile *mf)
{
+ mf->AddDefinition("CMAKE_GENERATOR_CC", "cl");
+ mf->AddDefinition("CMAKE_GENERATOR_CXX", "cl");
this->cmGlobalGenerator::EnableLanguage(lang, mf);
}