diff options
author | Brad King <brad.king@kitware.com> | 2023-02-14 20:27:12 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2023-02-23 14:12:29 (GMT) |
commit | bfeb16bd5bc7fdeca0922d5f89a35fe4a3e19d1f (patch) | |
tree | d9377a95209af8bc2ec111125933fe51d293a660 /Source/cmMakefile.h | |
parent | c0fcd07e6f0928ae666c5f6fe1f8ad6c306e67ba (diff) | |
download | CMake-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.h | 3 |
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; |