summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2004-04-07 13:58:43 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2004-04-07 13:58:43 (GMT)
commit1616135d4e6afca5502fa72ffb064f8d31acd8a4 (patch)
treefe703f10f3fe08eafde7044bb6fee00c10f35408 /Source/cmTarget.cxx
parent5c9fadee4f072fc4271fa8eeb05e8878d4bdfbca (diff)
downloadCMake-1616135d4e6afca5502fa72ffb064f8d31acd8a4.zip
CMake-1616135d4e6afca5502fa72ffb064f8d31acd8a4.tar.gz
CMake-1616135d4e6afca5502fa72ffb064f8d31acd8a4.tar.bz2
ENH: remove warnings on sgi
Diffstat (limited to 'Source/cmTarget.cxx')
-rw-r--r--Source/cmTarget.cxx8
1 files changed, 5 insertions, 3 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx
index 252d678..6570754 100644
--- a/Source/cmTarget.cxx
+++ b/Source/cmTarget.cxx
@@ -369,7 +369,8 @@ void cmTarget::AddLinkLibrary(cmMakefile& mf,
"general", "Library is used for both debug and optimized links",
cmCacheManager::STATIC);
}
- } break;
+ }
+ break;
case cmTarget::OPTIMIZED:
{
const char* def = mf.GetDefinition(linkTypeName.c_str());
@@ -385,9 +386,10 @@ void cmTarget::AddLinkLibrary(cmMakefile& mf,
"general", "Library is used for both debug and optimized links",
cmCacheManager::STATIC);
}
- } break;
+ }
+ break;
+ case cmTarget::GENERAL:
break;
- case cmTarget::GENERAL: break;
}
}
// Add the explicit dependency information for this target. This is