Trying to link with tiff

I added:

find_package(Tiff 4.7 REQUIRED)

to my top level CMakeLists.txt to supply the link libraries for tiff. But for my pains I got:

1> [CMake]   The link interface of target "TIFF::tiff" contains:
1> [CMake] 
1> [CMake]     CMath::CMath
1> [CMake] 
1> [CMake]   but the target was not found.  Possible reasons include:

of course find_package(CMath) finds nothing so what do I need to install to silence this complaint or what else to specify so it only sets things up to link with tiff.a

David

When I stumbled upon this issue, I just patched the original TIFF’s CMake project (you might not need all of that patch, just the math-related bits).
Should’ve probably sent this to the TIFF maintainers too.