From 7b36fd637cf9fa3fdc70edec924a48a4ca76f5ac Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Wed, 5 Aug 2009 10:45:10 -0400 Subject: [PATCH] Allow for static libraries to depend on other targets so that the MSBuild runs build things in the correct order --- Source/cmVisualStudio10TargetGenerator.cxx | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx index 19c02da0d..2a969327f 100644 --- a/Source/cmVisualStudio10TargetGenerator.cxx +++ b/Source/cmVisualStudio10TargetGenerator.cxx @@ -1221,11 +1221,6 @@ void cmVisualStudio10TargetGenerator::WriteEvent( void cmVisualStudio10TargetGenerator::WriteProjectReferences() { - // for static libs do not list references - if (this->Target->GetType() == cmTarget::STATIC_LIBRARY) - { - return; - } cmGlobalGenerator::TargetDependSet& depends = this->GlobalGenerator->GetTargetDirectDepends(*this->Target); this->WriteString("\n", 1);