ENH: fix for vs 8

This commit is contained in:
Bill Hoffman 2007-09-17 15:59:50 -04:00
parent 4ee1ee1bd0
commit 0e14877e2a
1 changed files with 2 additions and 2 deletions

View File

@ -609,7 +609,7 @@ void cmLocalVisualStudio7Generator::WriteConfiguration(std::ostream& fout,
// manifest tool to use a workaround for FAT32 file systems, which can cause // manifest tool to use a workaround for FAT32 file systems, which can cause
// an empty manifest to be embedded into the resulting executable. // an empty manifest to be embedded into the resulting executable.
// See CMake bug #2617. // See CMake bug #2617.
if ( this->Version > 8 ) if ( this->Version >= 8 )
{ {
fout << "\t\t\t<Tool\n\t\t\t\tName=\"VCManifestTool\"\n" fout << "\t\t\t<Tool\n\t\t\t\tName=\"VCManifestTool\"\n"
<< "\t\t\t\tUseFAT32Workaround=\"true\"\n" << "\t\t\t\tUseFAT32Workaround=\"true\"\n"
@ -1449,7 +1449,7 @@ cmLocalVisualStudio7Generator::WriteProjectStart(std::ostream& fout,
cmGlobalVisualStudio7Generator* gg = cmGlobalVisualStudio7Generator* gg =
static_cast<cmGlobalVisualStudio7Generator *>(this->GlobalGenerator); static_cast<cmGlobalVisualStudio7Generator *>(this->GlobalGenerator);
fout << "\tName=\"" << projLabel << "\"\n"; fout << "\tName=\"" << projLabel << "\"\n";
if(this->Version > 8) if(this->Version >= 8)
{ {
fout << "\tProjectGUID=\"{" << gg->GetGUID(libName) << "}\"\n"; fout << "\tProjectGUID=\"{" << gg->GetGUID(libName) << "}\"\n";
} }