2020.12.22 13:59 "[Tiff] Naming of the 'libtiff' libraries in Windows - proposal", by Miguel Medalha

2020.12.23 15:43 "Re: [Tiff] Naming of the 'libtiff' libraries in Windows - proposal", by Edward Lam

if(MSVC)
set(CMAKE_STATIC_LIBRARY_SUFFIX "-static.lib")
endif(MSVC)

Resulting in 'tiff-static.lib'.

What do you think?

Can't this be accomplished by setting it on the cmake command line at generation time?

ie. cmake "-DCMAKE_STATIC_LIBRARY_SUFFIX=-static.lib" -G....

Best regards,

-Edward