summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-02-14 20:27:12 (GMT)
committerBrad King <brad.king@kitware.com>2023-02-23 14:12:29 (GMT)
commitbfeb16bd5bc7fdeca0922d5f89a35fe4a3e19d1f (patch)
treed9377a95209af8bc2ec111125933fe51d293a660 /Source/cmMakefile.h
parentc0fcd07e6f0928ae666c5f6fe1f8ad6c306e67ba (diff)
downloadCMake-bfeb16bd5bc7fdeca0922d5f89a35fe4a3e19d1f.zip
CMake-bfeb16bd5bc7fdeca0922d5f89a35fe4a3e19d1f.tar.gz
CMake-bfeb16bd5bc7fdeca0922d5f89a35fe4a3e19d1f.tar.bz2
cmFindPackageCommand: Refactor CMP0074 logic to de-duplicate lookups
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r--Source/cmMakefile.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h
index 7b19c97..247d4dd 100644
--- a/Source/cmMakefile.h
+++ b/Source/cmMakefile.h
@@ -1011,7 +1011,8 @@ public:
bool GetDebugFindPkgMode() const;
- void MaybeWarnCMP0074(std::string const& pkg);
+ void MaybeWarnCMP0074(std::string const& rootVar, cmValue rootDef,
+ cm::optional<std::string> const& rootEnv);
void MaybeWarnUninitialized(std::string const& variable,
const char* sourceFilename) const;
bool IsProjectFile(const char* filename) const;