FindTIFF¶
Find the TIFF library (libtiff, https://libtiff.gitlab.io/libtiff/).
Optional COMPONENTS¶
This module supports the optional component CXX, for use with the COMPONENTS
argument of the find_package() command. This component has an associated
imported target, as described below.
Imported targets¶
Added in version 3.5.
This module defines the following IMPORTED targets:
TIFF::TIFFThe TIFF library, if found.
TIFF::CXXAdded in version 3.19.
The C++ wrapper libtiffxx, if requested by the COMPONENTS CXX option, if the compiler is not MSVC (which includes the C++ wrapper in libtiff), and if found.
Result variables¶
This module will set the following variables in your project:
TIFF_FOUNDtrue if the TIFF headers and libraries were found
TIFF_INCLUDE_DIRthe directory containing the TIFF headers
TIFF_INCLUDE_DIRSthe directory containing the TIFF headers
TIFF_LIBRARIESTIFF libraries to be linked
Cache variables¶
The following cache variables may also be set:
TIFF_INCLUDE_DIRthe directory containing the TIFF headers
TIFF_LIBRARY_RELEASEthe path to the TIFF library for release configurations
TIFF_LIBRARY_DEBUGthe path to the TIFF library for debug configurations
TIFFXX_LIBRARY_RELEASEthe path to the TIFFXX library for release configurations
TIFFXX_LIBRARY_DEBUGthe path to the TIFFXX library for debug configurations
Added in version 3.4: Debug and Release variants are found separately.