summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-12-14 14:04:43 (GMT)
committerBrad King <brad.king@kitware.com>2023-12-14 14:06:07 (GMT)
commit828df1d9e4ccd7e226998bef8adbc7cf5e8649b8 (patch)
tree4200d9f606cb3b3a3f7a6ecfda9af82037149d38 /Modules
parent3d1fbc4f6bb31114ac74111f6d02093e5a7b611b (diff)
downloadCMake-828df1d9e4ccd7e226998bef8adbc7cf5e8649b8.zip
CMake-828df1d9e4ccd7e226998bef8adbc7cf5e8649b8.tar.gz
CMake-828df1d9e4ccd7e226998bef8adbc7cf5e8649b8.tar.bz2
FindFreetype: Fix success message when config module is found
Follow up commit d892dedf22 (FindFreetype: always find the config module quietly, 2023-12-13) with a fix to the FPHSA call that reports success. Fixes: #25485
Diffstat (limited to 'Modules')
-rw-r--r--Modules/FindFreetype.cmake7
1 files changed, 3 insertions, 4 deletions
diff --git a/Modules/FindFreetype.cmake b/Modules/FindFreetype.cmake
index a24fd40..7352769 100644
--- a/Modules/FindFreetype.cmake
+++ b/Modules/FindFreetype.cmake
@@ -155,10 +155,9 @@ if (freetype_FOUND)
unset(_Freetype_component)
include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake)
- find_package_handle_standard_args(
- Freetype
- VERSION_VAR
- FREETYPE_VERSION_STRING
+ find_package_handle_standard_args(Freetype
+ HANDLE_COMPONENTS
+ VERSION_VAR FREETYPE_VERSION_STRING
)
return ()