[CMake] prefer static to dynamic library on linux

John Doe ufnoise at gmail.com
Wed Apr 30 17:46:18 EDT 2008


Hello,

I just started using ubuntu linux and it is a pleasure to see that
they provide both static and shared versions of libtcl8.4.  Is there a
way to tell cmake to prefer the static version of this library, even
if they are in the same directory, /usr/lib.

Thanks,

Juan


More information about the CMake mailing list