Files
CMake/Tests/RunCMake/FPHSA/empty_version-stderr.txt
T
Andrea Pappacoda 8f50f135ae FPHSA: Improve error message when VERSION_VAR is empty or has been unset()
Previously, when `VERSION_VAR` is set but empty, FPHSA emitted a
confusing error message, saying that the package was found but of an
unsuitable version "".  Fix the error message to state that the package
was not found.

Fixes: #23807
2022-09-07 10:11:06 -04:00

10 lines
435 B
Plaintext

^CMake Error at [^
]*/Modules/FindPackageHandleStandardArgs.cmake:[0-9]+ \(message\):
Could NOT find Pseudo: \(Required is at least version "1"\) \(found TRUE\)
Call Stack \(most recent call first\):
[^
]*/Modules/FindPackageHandleStandardArgs.cmake:[0-9]+ \(_FPHSA_FAILURE_MESSAGE\)
FindPseudo.cmake:[0-9]+ \(find_package_handle_standard_args\)
empty_version.cmake:[0-9]+ \(find_package\)
CMakeLists.txt:[0-9]+ \(include\)$