[CMake] linked to static instead of shared library

David Somers dsomers at omz13.com
Fri Mar 4 17:00:03 EST 2005

At the moment I'm using FIND_LIBRARY to pick up the location of a shared 
library. Is there a way to get it to pick up the static library instead? 
(Yes, both the static and shared libraries coexist in the same directory, and 
I can't really change that becasue its a third-party library and I don't want 
to muck around with its build system).

For static libraries, is Link Library still the way to specify it?

David Somers
VoIP: FWD 622885
PGP Key ID = 7E613D4E (2048; ElGamel)
Key Fingerprint = 53A0 D84B 7F90 F227 2EAB  4FD7 6278 E2A8 7E61 3D4E
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://public.kitware.com/pipermail/cmake/attachments/20050304/157bb5ea/attachment.pgp

More information about the CMake mailing list