mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-01 03:29:18 -05:00
cmFindPackageCommand: Refactor CMP0074 logic to de-duplicate lookups
This commit is contained in:
+2
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user