When I try to use CMake to link with libtiff using: target_link_libraries(${PROJECT_NAME} PRIVATE TIFF::TIFF)
I get: 1> [CMake] CMake Error at /usr/local/lib/cmake/tiff/TiffTargets.cmake:56 (set_target_properties): 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: 1> [CMake] 1> [CMake] * There is a typo in the target name. 1> [CMake] * A find_package call is missing for an IMPORTED target. 1> [CMake] * An ALIAS target is missing. This is on Ubuntu 22.04 What's the solution please Cheers, David
_______________________________________________ Tiff mailing list Tiff@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/tiff