Re: [CMake] find both shared and static versions?

2012-02-17 Thread Michael Hertling
On 02/17/2012 01:36 AM, Dougal Sutherland wrote: > I have an application where I want to link some targets against shared > versions of Boost and some against static versions. > > (I'd prefer shared in general, but I need to link against the static > version of boost for my matlab mex interface, t

[CMake] find both shared and static versions?

2012-02-16 Thread Dougal Sutherland
I have an application where I want to link some targets against shared versions of Boost and some against static versions. (I'd prefer shared in general, but I need to link against the static version of boost for my matlab mex interface, to avoid loading the different version of boost shipped by m