summaryrefslogtreecommitdiffstats
path: root/Source/cmComputeTargetDepends.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-05-17 17:29:37 (GMT)
committerBrad King <brad.king@kitware.com>2017-05-18 14:18:57 (GMT)
commit87a37e647587d4891b36db92bd33950ccc864c6b (patch)
treeb81f4bbcae0a2b7aac760e81ac6d3d2889094756 /Source/cmComputeTargetDepends.h
parent5a913794d2931c3de00464cf261215a173f5ab8b (diff)
downloadCMake-87a37e647587d4891b36db92bd33950ccc864c6b.zip
CMake-87a37e647587d4891b36db92bd33950ccc864c6b.tar.gz
CMake-87a37e647587d4891b36db92bd33950ccc864c6b.tar.bz2
cmComputeTargetDepends: Avoid nested loops over configurations
`AddInterfaceDepends` is only called from `CollectTargetDepends` inside our loop over all configurations so it doesn't need its own such loop.
Diffstat (limited to 'Source/cmComputeTargetDepends.h')
-rw-r--r--Source/cmComputeTargetDepends.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmComputeTargetDepends.h b/Source/cmComputeTargetDepends.h
index ccf99de..e93e376 100644
--- a/Source/cmComputeTargetDepends.h
+++ b/Source/cmComputeTargetDepends.h
@@ -50,6 +50,7 @@ private:
bool linking);
bool ComputeFinalDepends(cmComputeComponentGraph const& ccg);
void AddInterfaceDepends(int depender_index, cmLinkItem const& dependee_name,
+ const std::string& config,
std::set<std::string>& emitted);
void AddInterfaceDepends(int depender_index,
cmGeneratorTarget const* dependee,