summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2010-12-28 20:26:15 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2010-12-28 20:26:15 (GMT)
commit726861ce691db9e2228bdf5fca08fb48f048083a (patch)
treebfca8d2cf55d18be471cd03e97430b887a88225f /Source
parent9ffe22b2eb4ac0126e643a83288a0aecac5c0b50 (diff)
parentd18c8d6ad7a9111f4fec515ae58096da744f3d61 (diff)
downloadCMake-726861ce691db9e2228bdf5fca08fb48f048083a.zip
CMake-726861ce691db9e2228bdf5fca08fb48f048083a.tar.gz
CMake-726861ce691db9e2228bdf5fca08fb48f048083a.tar.bz2
Merge topic 'FixCrashInEclipseGenerator'
d18c8d6 Fix crash in Eclipse generator with empty project (#11616)
Diffstat (limited to 'Source')
-rw-r--r--Source/cmExtraEclipseCDT4Generator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmExtraEclipseCDT4Generator.cxx b/Source/cmExtraEclipseCDT4Generator.cxx
index 502fefa..0ef771f 100644
--- a/Source/cmExtraEclipseCDT4Generator.cxx
+++ b/Source/cmExtraEclipseCDT4Generator.cxx
@@ -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"