diff options
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); } |