Merge topic 'FixCrashInEclipseGenerator'

d18c8d6 Fix crash in Eclipse generator with empty project (#11616)
This commit is contained in:
Brad King 2010-12-28 15:26:15 -05:00 committed by CMake Topic Stage
commit 726861ce69
1 changed files with 1 additions and 1 deletions

View File

@ -201,7 +201,7 @@ void cmExtraEclipseCDT4Generator::CreateProjectFile()
"<projectDescription>\n"
"\t<name>" <<
this->GenerateProjectName(mf->GetProjectName(),
mf->GetDefinition("CMAKE_BUILD_TYPE"),
mf->GetSafeDefinition("CMAKE_BUILD_TYPE"),
this->GetPathBasename(this->HomeOutputDirectory))
<< "</name>\n"
"\t<comment></comment>\n"