mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-14 19:08:07 +08:00
find_package: Fixed CMAKE_FIND_PACKAGE_PREFER_CONFIG Module fallback
Fixes: #19361
This commit is contained in:
@@ -103,7 +103,14 @@ private:
|
||||
bool FindModule(bool& found);
|
||||
void AddFindDefinition(const std::string& var, const char* val);
|
||||
void RestoreFindDefinitions();
|
||||
bool HandlePackageMode();
|
||||
|
||||
enum /*class*/ HandlePackageModeType
|
||||
{
|
||||
Module,
|
||||
Config
|
||||
};
|
||||
bool HandlePackageMode(HandlePackageModeType type);
|
||||
|
||||
bool FindConfig();
|
||||
bool FindPrefixedConfig();
|
||||
bool FindFrameworkConfig();
|
||||
|
Reference in New Issue
Block a user