summaryrefslogtreecommitdiffstats
path: root/Modules/FindPackageHandleStandardArgs.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2024-02-08 14:45:59 (GMT)
committerKitware Robot <kwrobot@kitware.com>2024-02-08 14:46:20 (GMT)
commit9aba2533113e16a9f60ae84ba3ae11ed37adbe1a (patch)
tree0c4b0307c447da358a0b5f0343a40cbd1a31d4fb /Modules/FindPackageHandleStandardArgs.cmake
parent504d33b603972aefbc4c79492684c1e7b3b4e88e (diff)
parent2fc22a3deccd1454c6096a4579dd7701eaffe84d (diff)
downloadCMake-9aba2533113e16a9f60ae84ba3ae11ed37adbe1a.zip
CMake-9aba2533113e16a9f60ae84ba3ae11ed37adbe1a.tar.gz
CMake-9aba2533113e16a9f60ae84ba3ae11ed37adbe1a.tar.bz2
Merge topic 'fphsa-version-message' into release-3.29
2fc22a3dec FPHSA: Fix empty version message in exact match Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9227
Diffstat (limited to 'Modules/FindPackageHandleStandardArgs.cmake')
-rw-r--r--Modules/FindPackageHandleStandardArgs.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindPackageHandleStandardArgs.cmake b/Modules/FindPackageHandleStandardArgs.cmake
index 56ba1e6..63b2bf2 100644
--- a/Modules/FindPackageHandleStandardArgs.cmake
+++ b/Modules/FindPackageHandleStandardArgs.cmake
@@ -342,7 +342,7 @@ function(FIND_PACKAGE_CHECK_VERSION version result)
set(version_msg "Found unsuitable version \"${version}\", but required is exact version \"${${package}_FIND_VERSION}\"")
else ()
set(version_ok TRUE)
- set(version_msg "(found suitable exact version \"${_FOUND_VERSION}\")")
+ set(version_msg "(found suitable exact version \"${version}\")")
endif ()
else ()
if (NOT ${package}_FIND_VERSION VERSION_EQUAL version)