[CMake] FindBoost.cmake updated on the bugtracker

Doug Gregor doug.gregor at gmail.com
Fri Apr 11 11:24:11 EDT 2008


On Wed, Apr 9, 2008 at 5:51 AM, Andreas Pakulat <apaku at gmx.de> wrote:
>  Did so and of course a few small changes where needed :) I'll attach a
>  diff of those needed changes. With those changes cmake properly finds
>  the static libs if I provide the Boost_USE_STATIC_LIBS and it finds the
>  import libraries for the .dll's if I don't provide it (which I assume is
>  the right thing). It also properly finds debug vs. release versions of
>  the libraries.

With these changes, things have been working very well for me on both
Mac and Windows.

>  This was with MSVC8, but I don't think there are any problems with other
>  MSVC versions.

I was testing with MSVC9 and Boost 1.35.0, and it is working fine.

>  If you need a test with MinGW too that will take a bit as I'll have to
>  set that up and compile boost first for that (not sure if its even
>  supported from boost's side).

IIRC, Boost works with MinGW, but we don't put much effort into
testing or maintaining it.

Frankly, I think we should put this new FindBoost into 2.6.0, assuming
there's another RC. I'm attaching the latest version (only typo fixes
from the diff Andreas sent out).

  - Doug
-------------- next part --------------
A non-text attachment was scrubbed...
Name: FindBoost.cmake
Type: application/octet-stream
Size: 26676 bytes
Desc: not available
URL: <http://www.cmake.org/pipermail/cmake/attachments/20080411/838afccd/attachment-0001.obj>


More information about the CMake mailing list