diff options
author | Brad King <brad.king@kitware.com> | 2022-02-10 19:07:41 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-02-10 21:30:09 (GMT) |
commit | df3e29450a1d9d5bd18423831fdab13ba94fe876 (patch) | |
tree | 6ca3e05df325573a210a3a25d080d4d585ba066d /Tests | |
parent | 636ca7f25c3016805bf0214bc563f30728d9de0b (diff) | |
download | CMake-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 'Tests')
-rw-r--r-- | Tests/RunCMake/CMakePresets/Debug-stderr.txt | 3 | ||||
-rw-r--r-- | Tests/RunCMake/find_package/FromPATHEnv-stderr.txt | 3 | ||||
-rw-r--r-- | Tests/RunCMake/find_package/FromPATHEnvDebugPkg-stderr.txt | 3 |
3 files changed, 6 insertions, 3 deletions
diff --git a/Tests/RunCMake/CMakePresets/Debug-stderr.txt b/Tests/RunCMake/CMakePresets/Debug-stderr.txt index 7fdb8b3..d30dc58 100644 --- a/Tests/RunCMake/CMakePresets/Debug-stderr.txt +++ b/Tests/RunCMake/CMakePresets/Debug-stderr.txt @@ -1 +1,2 @@ - find_package considered the following locations for the Config module: + find_package considered the following locations for + ThisPackageHopefullyDoesNotExist's Config module: diff --git a/Tests/RunCMake/find_package/FromPATHEnv-stderr.txt b/Tests/RunCMake/find_package/FromPATHEnv-stderr.txt index 5fe89fd..19108f4 100644 --- a/Tests/RunCMake/find_package/FromPATHEnv-stderr.txt +++ b/Tests/RunCMake/find_package/FromPATHEnv-stderr.txt @@ -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 diff --git a/Tests/RunCMake/find_package/FromPATHEnvDebugPkg-stderr.txt b/Tests/RunCMake/find_package/FromPATHEnvDebugPkg-stderr.txt index f921804..a708282 100644 --- a/Tests/RunCMake/find_package/FromPATHEnvDebugPkg-stderr.txt +++ b/Tests/RunCMake/find_package/FromPATHEnvDebugPkg-stderr.txt @@ -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 |