Boost logo

Boost Interest :

Subject: Re: [Boost-cmake] Creating "Known Issues": CMake Problems with boost 1.39
From: Brad King (brad.king_at_[hidden])
Date: 2009-05-13 12:55:02


Doug Gregor wrote:
> Basically, when you have both a shared and a static library "foo" in
> the same directory, CMake uses -lfoo and we'll pick up whatever the
> linker wants (the shared library).
[snip]
> Other ideas for a fix to this problem would be helpful! I'm stumped.

CMake 2.6 uses full paths for linking in most cases, especially for
targets built in-tree. Do you actually see -lfoo anywhere?

-Brad


Boost-cmake list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk