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
This commit is contained in:
Brad King
2023-12-14 09:04:43 -05:00
parent 3d1fbc4f6b
commit 828df1d9e4

View File

@@ -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 ()