From 3c326476ee63b91a2a240641da7e405d3e770bb3 Mon Sep 17 00:00:00 2001 From: Brad King Date: Wed, 21 Oct 2009 13:09:55 -0400 Subject: Simplify 'strip' and 'ranlib' install tweak code The cmInstallTargetGenerator methods AddStripRule and AddRanlibRule do not need the target type argument. They can simply use the type of the target for which the generator instance was created. --- Source/cmInstallTargetGenerator.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'Source/cmInstallTargetGenerator.h') diff --git a/Source/cmInstallTargetGenerator.h b/Source/cmInstallTargetGenerator.h index 978c302529..b62853a16a 100644 --- a/Source/cmInstallTargetGenerator.h +++ b/Source/cmInstallTargetGenerator.h @@ -74,10 +74,8 @@ protected: std::string const& toDestDirPath); void AddStripRule(std::ostream& os, Indent const& indent, - cmTarget::TargetType type, const std::string& toDestDirPath); void AddRanlibRule(std::ostream& os, Indent const& indent, - cmTarget::TargetType type, const std::string& toDestDirPath); cmTarget* Target; -- cgit v1.2.1