summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-02-10 19:07:41 (GMT)
committerBrad King <brad.king@kitware.com>2022-02-10 21:30:09 (GMT)
commitdf3e29450a1d9d5bd18423831fdab13ba94fe876 (patch)
tree6ca3e05df325573a210a3a25d080d4d585ba066d /Source
parent636ca7f25c3016805bf0214bc563f30728d9de0b (diff)
downloadCMake-df3e29450a1d9d5bd18423831fdab13ba94fe876.zip
CMake-df3e29450a1d9d5bd18423831fdab13ba94fe876.tar.gz
CMake-df3e29450a1d9d5bd18423831fdab13ba94fe876.tar.bz2
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.
Diffstat (limited to 'Source')
-rw-r--r--Source/cmFindPackageCommand.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmFindPackageCommand.cxx b/Source/cmFindPackageCommand.cxx
index 5f1544d..7bcb719 100644
--- a/Source/cmFindPackageCommand.cxx
+++ b/Source/cmFindPackageCommand.cxx
@@ -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.