summaryrefslogtreecommitdiffstats
path: root/Source/cmFindPackageCommand.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-02-10 17:17:39 (GMT)
committerBrad King <brad.king@kitware.com>2022-02-10 20:25:05 (GMT)
commita690523fcf31ca7dc062fca746c0f76e405c0e7a (patch)
tree738daee0f71987ba12b8bea30f02e0cbca6be997 /Source/cmFindPackageCommand.h
parent0a08377c4a1fc9684fa3bd695f375b1e5ee267ab (diff)
downloadCMake-a690523fcf31ca7dc062fca746c0f76e405c0e7a.zip
CMake-a690523fcf31ca7dc062fca746c0f76e405c0e7a.tar.gz
CMake-a690523fcf31ca7dc062fca746c0f76e405c0e7a.tar.bz2
cmFindPackageCommand: Drop ComputeIfDebugModeWanted overload
The overload for `--debug-find-pkg` has the same signature as the base class method for `--debug-find-var`. To avoid confusion, drop the overload and inline it its only call site.
Diffstat (limited to 'Source/cmFindPackageCommand.h')
-rw-r--r--Source/cmFindPackageCommand.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/Source/cmFindPackageCommand.h b/Source/cmFindPackageCommand.h
index 439d934..f921bb0 100644
--- a/Source/cmFindPackageCommand.h
+++ b/Source/cmFindPackageCommand.h
@@ -40,7 +40,6 @@ class cmSearchPath;
class cmFindPackageCommand : public cmFindCommon
{
public:
- using cmFindCommon::ComputeIfDebugModeWanted;
/*! A sorting order strategy to be applied to recovered package folders (see
* FIND_PACKAGE_SORT_ORDER)*/
enum /*class*/ SortOrderType
@@ -121,7 +120,6 @@ private:
bool ReadListFile(const std::string& f, PolicyScopeRule psr);
void StoreVersionFound();
- bool ComputeIfDebugModeWanted(std::string const& var);
void ComputePrefixes();
void FillPrefixesPackageRoot();
void FillPrefixesCMakeEnvironment();