On linux if I do 

 

               find_package(Tiff 4.7 REQUIRED)

and in a lower level cmake script I do:

               target_link_libraries(DeepSkyStacker PRIVATE TIFF::tiff)

 

I get:



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 .

 

I am led to believe that this requires quite a few changes to the
CMakeLists.txt and a number of cmake files.

See:

https://github.com/retifrav/vcpkg-registry/blob/master/ports/tiff/dependenci
es-discovery-and-installation.patch#L10-L14

Can this or something like it be incorporated into the tiff delivery?

 

For now, I am manually adding tiff.a (I built as a static library) to
target_link_libraries() rather than using TIFF.tiff

 

Thanks, David

 

_______________________________________________
Tiff mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/tiff

Reply via email to