diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-02-24 22:35:35 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-02-24 22:35:35 (GMT) |
commit | c4156b4531668adc0dc9bf37f42758d6db03ff68 (patch) | |
tree | 37762d0fda6dadd103b9b4dc2f08facd77cffc35 /Source/cmMakefile.cxx | |
parent | 46757656011165aa8c857523c8770cd0ea80c3da (diff) | |
download | CMake-c4156b4531668adc0dc9bf37f42758d6db03ff68.zip CMake-c4156b4531668adc0dc9bf37f42758d6db03ff68.tar.gz CMake-c4156b4531668adc0dc9bf37f42758d6db03ff68.tar.bz2 |
COMP: Even more global target fixes
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r-- | Source/cmMakefile.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index 566265d..bf7f78d 100644 --- a/Source/cmMakefile.cxx +++ b/Source/cmMakefile.cxx @@ -2040,6 +2040,8 @@ cmSourceFile* cmMakefile::AddSource(cmSourceFile const&sf) void cmMakefile::EnableLanguage(std::vector<std::string> const & lang) { + this->AddDefinition("CMAKE_CFG_INTDIR", + m_LocalGenerator->GetGlobalGenerator()->GetCMakeCFGInitDirectory()); m_LocalGenerator->GetGlobalGenerator()->EnableLanguage(lang, this); } |