diff options
author | Brad King <brad.king@kitware.com> | 2022-09-15 14:52:23 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-09-15 15:00:02 (GMT) |
commit | 07f0a78874e0cf8013654ff4bac5e7192a324609 (patch) | |
tree | 963c5a09903c69978de7973d639f959f6c8bff64 /Copyright.txt | |
parent | 01a25d72c69b0a9a60c1a62939d6a2c543448118 (diff) | |
download | CMake-07f0a78874e0cf8013654ff4bac5e7192a324609.zip CMake-07f0a78874e0cf8013654ff4bac5e7192a324609.tar.gz CMake-07f0a78874e0cf8013654ff4bac5e7192a324609.tar.bz2 |
FPHSA: Fix regression when VERSION_VAR is missing
If a package is found but FPHSA is called by the find module without a
`VERSION_VAR`, and the `find_package` call specifies a version, we have
previously accepted the package as found. This was accidentally
regressed by commit 8f50f135ae (FPHSA: Improve error message when
VERSION_VAR is empty or has been unset(), 2022-08-01). Restore it and
add a test case.
Diffstat (limited to 'Copyright.txt')
0 files changed, 0 insertions, 0 deletions