summaryrefslogtreecommitdiffstats
path: root/Source/cmFindPackageCommand.cxx
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2022-02-01 19:42:54 (GMT)
committerKyle Edwards <kyle.edwards@kitware.com>2022-02-02 16:09:00 (GMT)
commitbd805a51ae4b5be5be6bbadf4afab108fcf4ddb3 (patch)
tree9f487e27f9af0ef2b9c092919c1165c85bb4bc11 /Source/cmFindPackageCommand.cxx
parent92459258108c0036808f29f83a8503fea18ccee9 (diff)
downloadCMake-bd805a51ae4b5be5be6bbadf4afab108fcf4ddb3.zip
CMake-bd805a51ae4b5be5be6bbadf4afab108fcf4ddb3.tar.gz
CMake-bd805a51ae4b5be5be6bbadf4afab108fcf4ddb3.tar.bz2
Refactor: Keep track of prefixes in cmSearchPath
Diffstat (limited to 'Source/cmFindPackageCommand.cxx')
-rw-r--r--Source/cmFindPackageCommand.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmFindPackageCommand.cxx b/Source/cmFindPackageCommand.cxx
index c468a3c..85badf6 100644
--- a/Source/cmFindPackageCommand.cxx
+++ b/Source/cmFindPackageCommand.cxx
@@ -1309,7 +1309,7 @@ inline std::size_t collectPathsForDebug(std::string& buffer,
return 0;
}
for (std::size_t i = startIndex; i < paths.size(); i++) {
- buffer += " " + paths[i] + "\n";
+ buffer += " " + paths[i].Path + "\n";
}
return paths.size();
}