
Thread



2020.12.26 04:06 "Re: [Tiff] Naming of the 'libtiff' libraries in Windows - proposal", by Edward Lam
Reposting this as I failed to do so the first time around.
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....
Maybe there’s a way to make it work that way, but not with that syntax. I had already tried. It. The problem is that the parameters have to be passed to a “second stage” and I didn’t figure out how to do it from the command line. I am no developer, l just build the tools I directly need for my work.
Ah, I had to look this up too but this worked
cmake -DBUILD_SHARED_LIBS=OFF -DCMAKE_STATIC_LIBRARY_SUFFIX_C=-static.lib
Best regards,
-Edward