mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-11 08:20:18 -06:00
find_package: Mention package name in Config mode debug output
Otherwise, if there are no paths considered then the output does not specify the name of the package.
This commit is contained in:
@@ -1117,7 +1117,8 @@ bool cmFindPackageCommand::FindConfig()
|
||||
if (this->DebugMode) {
|
||||
this->DebugBuffer = cmStrCat(this->DebugBuffer,
|
||||
"find_package considered the following "
|
||||
"locations for the Config module:\n");
|
||||
"locations for ",
|
||||
this->Name, "'s Config module:\n");
|
||||
}
|
||||
|
||||
// Search for frameworks.
|
||||
|
||||
@@ -1 +1,2 @@
|
||||
find_package considered the following locations for the Config module:
|
||||
find_package considered the following locations for
|
||||
ThisPackageHopefullyDoesNotExist's Config module:
|
||||
|
||||
@@ -65,7 +65,8 @@
|
||||
|
||||
none
|
||||
|
||||
find_package considered the following locations for the Config module:
|
||||
find_package considered the following locations for Resolved's Config
|
||||
module:
|
||||
|
||||
[^
|
||||
]*/Tests/RunCMake/find_package/PackageRoot/ResolvedConfig.cmake
|
||||
|
||||
@@ -65,7 +65,8 @@
|
||||
|
||||
none
|
||||
|
||||
find_package considered the following locations for the Config module:
|
||||
find_package considered the following locations for Resolved's Config
|
||||
module:
|
||||
|
||||
[^
|
||||
]*/Tests/RunCMake/find_package/PackageRoot/ResolvedConfig.cmake
|
||||
|
||||
Reference in New Issue
Block a user