diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-07-28 16:48:40 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-07-29 14:43:32 (GMT) |
commit | a1209be550172a95d3254158c121abf184e60bcd (patch) | |
tree | df04eb1daa163880a22c0862a83f7d85f5932289 /Source/cmLocalVisualStudio6Generator.cxx | |
parent | 32e4f6beca6f13165ec5a40bf363d005ebda9263 (diff) | |
download | CMake-a1209be550172a95d3254158c121abf184e60bcd.zip CMake-a1209be550172a95d3254158c121abf184e60bcd.tar.gz CMake-a1209be550172a95d3254158c121abf184e60bcd.tar.bz2 |
VisualStudio: Skip global targets when processing.
Diffstat (limited to 'Source/cmLocalVisualStudio6Generator.cxx')
-rw-r--r-- | Source/cmLocalVisualStudio6Generator.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmLocalVisualStudio6Generator.cxx b/Source/cmLocalVisualStudio6Generator.cxx index f1c8def..cab5a47 100644 --- a/Source/cmLocalVisualStudio6Generator.cxx +++ b/Source/cmLocalVisualStudio6Generator.cxx @@ -88,7 +88,8 @@ void cmLocalVisualStudio6Generator::AddCMakeListsRules() for(cmTargets::iterator l = tgts.begin(); l != tgts.end(); l++) { - if (l->second.GetType() == cmTarget::INTERFACE_LIBRARY) + if (l->second.GetType() == cmTarget::INTERFACE_LIBRARY + || l->second.GetType() == cmTarget::GLOBAL_TARGET) { continue; } |