mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-05 21:31:08 -06:00
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:
@@ -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 ()
|
||||
|
||||
Reference in New Issue
Block a user