mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-11 08:20:18 -06:00
cmake::GetDebugFindPkgOutput: Use consistent argument name
The argument name used in the class declaration didn't match the one used in the implementation file. The one in the header appears to be a cut-n-paste from GetDebugFindOutput(), but the implementation makes it clear that "pkg" better infers what the argument represents than "var".
This commit is contained in:
@@ -488,7 +488,7 @@ public:
|
||||
//! Do we want debug output from the find commands during the cmake run.
|
||||
bool GetDebugFindOutput() const { return this->DebugFindOutput; }
|
||||
bool GetDebugFindOutput(std::string const& var) const;
|
||||
bool GetDebugFindPkgOutput(std::string const& var) const;
|
||||
bool GetDebugFindPkgOutput(std::string const& pkg) const;
|
||||
void SetDebugFindOutput(bool b) { this->DebugFindOutput = b; }
|
||||
void SetDebugFindOutputPkgs(std::string const& args);
|
||||
void SetDebugFindOutputVars(std::string const& args);
|
||||
|
||||
Reference in New Issue
Block a user