summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalVisualStudio71Generator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2007-04-04 18:50:35 (GMT)
committerBrad King <brad.king@kitware.com>2007-04-04 18:50:35 (GMT)
commit438a7e2fcef6c82dd93e0106208dbaee7e9ccfc4 (patch)
tree457a6595797e62866b70c4d7e6b4f428b7da033b /Source/cmGlobalVisualStudio71Generator.cxx
parent2803688998cebbd40df1a0678106e62271217add (diff)
downloadCMake-438a7e2fcef6c82dd93e0106208dbaee7e9ccfc4.zip
CMake-438a7e2fcef6c82dd93e0106208dbaee7e9ccfc4.tar.gz
CMake-438a7e2fcef6c82dd93e0106208dbaee7e9ccfc4.tar.bz2
BUG: Fix utility dependencies for static libraries in VS generators. This addresses bug#4789.
Diffstat (limited to 'Source/cmGlobalVisualStudio71Generator.cxx')
-rw-r--r--Source/cmGlobalVisualStudio71Generator.cxx12
1 files changed, 1 insertions, 11 deletions
diff --git a/Source/cmGlobalVisualStudio71Generator.cxx b/Source/cmGlobalVisualStudio71Generator.cxx
index e29227d..fec8df9 100644
--- a/Source/cmGlobalVisualStudio71Generator.cxx
+++ b/Source/cmGlobalVisualStudio71Generator.cxx
@@ -349,17 +349,7 @@ cmGlobalVisualStudio71Generator
{
if(*i != dspname)
{
- std::string name = i->c_str();
- if(strncmp(name.c_str(), "INCLUDE_EXTERNAL_MSPROJECT", 26) == 0)
- {
- // kind of weird removing the first 27 letters. my
- // recommendatsions: use cmCustomCommand::GetCommand() to get the
- // project name or get rid of the target name starting with
- // "INCLUDE_EXTERNAL_MSPROJECT_" and use another indicator/flag
- // somewhere. These external project names shouldn't conflict
- // with cmake target names anyways.
- name.erase(name.begin(), name.begin() + 27);
- }
+ std::string name = this->GetUtilityForTarget(target, i->c_str());
std::string guid = this->GetGUID(name.c_str());
if(guid.size() == 0)
{