I found a temporary way of doing this without editing the source.

 

On cmake command line:

 

-DCMAKE_PROJECT_INCLUDE=my_include_file

 

‘my_include_file’ has the following contents:

 

link_libraries("C:/build/lib/libsharpyuv.lib")

 

This is not very elegant, because it inserts the library as a dependency of all 
targets, not just the ‘tiff’ one, but for now it seems to work without 
undesirable secondary effects.

 

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

Reply via email to