[CMake] Linking to a static library
Brad King
brad.king at kitware.com
Wed Aug 17 18:10:51 EDT 2005
Kiel W. wrote:
> I'm sure this is fairly common question but I didn't see a way to
> search the archive and google hadn't given me any good results. If
> there is a way to wearch the archive please let me know for future
> use.
>
> Problem: Unable to link to an existing static library
> Environment: Cygwin and Boost 1.33.0
>
> What is the correct way to link to a static library that will be used
> through the source tree? In other words, mulitiple libraries and the
> executable will use it.
Is there a shared version of the library next to it? If not then you
should be able to link to the static library easily. What is the error
you get?
-Brad
More information about the CMake
mailing list