FindTIFF: 3.28.0 prints erroneous not found messages
@ben.boeckel Since 3.28 and I presume this change 6a3059e6 errouneous not found messages are printed when finding LibTIFF:
-- Could NOT find tiff (missing: tiff_DIR)
-- Found TIFF: C:/msys64/ucrt64/lib/libtiff.dll.a (found version "4.6.0")
-- The following REQUIRED packages have been found:
* TIFF
-- The following OPTIONAL packages have not been found:
* tiff
using e.g. this minimal reproducer:
find_package(TIFF REQUIRED)
include(FeatureSummary)
feature_summary(WHAT ALL)
IMHO the FindTIFF.cmake module should not implicitly wrap find_package(tiff CONFIG)
...
Edited by Miloš Komarčević