CMake: add libtiff headers to cmake target


Adding the libtiff headers to the cmake target in order to populate
project files.
Quality of life improvements that makes the code a little more tooling
friendly.

Pick-to: 6.10
Change-Id: I87fa5e2118a4d128081a8703e8c8cc3b3b31fa44
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
commit2a1dce06d5ccfa0f5996c66a30054da4f2a3e8ba
parent1eb2199aa9f5ec47a4b53feba8b6f45fede95689
authorTim Blechmann <tim@klingt.org>
committerTim Blechmann <tim@klingt.org>
commit timeSun, 10 Aug 2025 09:04:47 +0800