Skip to content

FPHSA: Fix empty version message in exact match

find_package_check_version() uses "${version}" when composing it's version message in most places, but would use "${_FOUND_VERSION}" in one branch when matching exact version requirements. _FOUND_VERSION is set by find_package_handle_standard_args(), so this did not cause problems when not calling find_package_check_version() directly.

It seems to me that this was occurence of _FOUND_VERSION was simply missed when the version check was moved into its own function in !5226 (merged).

Backport: release
Topic-rename: fphsa-version-message

Edited by Brad King

Merge request reports