COMP: fix warning

This commit is contained in:
Bill Hoffman 2005-02-25 20:46:33 -05:00
parent c4ca049e3f
commit 8d59e58b6a

View File

@ -781,13 +781,11 @@ void cmGlobalXCodeGenerator::CreateBuildSettings(cmTarget& target,
m_CurrentMakefile->GetDefineFlags()); m_CurrentMakefile->GetDefineFlags());
cmSystemTools::ReplaceString(flags, "\"", "\\\""); cmSystemTools::ReplaceString(flags, "\"", "\\\"");
productName = target.GetName(); productName = target.GetName();
bool needLinkDirs = true;
switch(target.GetType()) switch(target.GetType())
{ {
case cmTarget::STATIC_LIBRARY: case cmTarget::STATIC_LIBRARY:
{ {
needLinkDirs = false;
if(m_LibraryOutputPath.size()) if(m_LibraryOutputPath.size())
{ {
buildSettings->AddAttribute("SYMROOT", buildSettings->AddAttribute("SYMROOT",