summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalCodeWarriorGenerator.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmGlobalCodeWarriorGenerator.cxx')
-rw-r--r--Source/cmGlobalCodeWarriorGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalCodeWarriorGenerator.cxx b/Source/cmGlobalCodeWarriorGenerator.cxx
index 0a9c1b5..735c5c8 100644
--- a/Source/cmGlobalCodeWarriorGenerator.cxx
+++ b/Source/cmGlobalCodeWarriorGenerator.cxx
@@ -33,7 +33,7 @@ void cmGlobalCodeWarriorGenerator::EnableLanguage(const char*,
if(!this->GetLanguageEnabled("CXX"))
{
std::string fpath =
- mf->GetDefinition("CMAKE_ROOT");
+ mf->GetRequiredDefinition("CMAKE_ROOT");
fpath += "/Templates/CMakeCodeWarriorConfig.cmake";
mf->ReadListFile(0,fpath.c_str());
this->SetLanguageEnabled("CXX");