summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalVisualStudio71Generator.cxx
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2006-02-24 21:20:44 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2006-02-24 21:20:44 (GMT)
commit07d0e776ad97d715b7ffa8484fc1da2deb9694dc (patch)
tree1fe319813f7a39799a93a3ac13a5f42d1906f93a /Source/cmGlobalVisualStudio71Generator.cxx
parent586a9427d3dd8b4a99f7a3d545814f8b9bf42453 (diff)
downloadCMake-07d0e776ad97d715b7ffa8484fc1da2deb9694dc.zip
CMake-07d0e776ad97d715b7ffa8484fc1da2deb9694dc.tar.gz
CMake-07d0e776ad97d715b7ffa8484fc1da2deb9694dc.tar.bz2
BUG: More fixing of support for global target son visual studio
Diffstat (limited to 'Source/cmGlobalVisualStudio71Generator.cxx')
-rw-r--r--Source/cmGlobalVisualStudio71Generator.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmGlobalVisualStudio71Generator.cxx b/Source/cmGlobalVisualStudio71Generator.cxx
index ad31d5a..72ce42d 100644
--- a/Source/cmGlobalVisualStudio71Generator.cxx
+++ b/Source/cmGlobalVisualStudio71Generator.cxx
@@ -107,7 +107,8 @@ void cmGlobalVisualStudio71Generator::WriteSLNFile(std::ostream& fout,
{
if (al->second.IsInAll())
{
- if (al->second.GetType() == cmTarget::UTILITY)
+ if (al->second.GetType() == cmTarget::UTILITY &&
+ al->second.GetType() == cmTarget::GLOBAL_TARGET)
{
l->second.AddUtility(al->first.c_str());
}