[CMake] FindBoost: find both win32 and x64 static libs

Philip Lowman philip at yhbt.com
Sat Dec 4 23:54:10 EST 2010


On Saturday, December 4, 2010, Hicham Mouline <hicham at mouline.org> wrote:
>
> I was wrong. Dmytro pointed out that bjam allows building boost
> libraries with the compiler and bitness in the boost library name --layout=versioned.
>
> Therefore, I could have both 32 and 64bit versions in the same
> directory.
>
> I wonder then if FindBoost is able to detect automatically the
> right ones based on the name of the libs.

I could probably add this feature, I'm pretty sure there isn't support
for it now.  Could you create a feature request on the CMake bug
tracker and include what the filenames look like when generated by
visual studio?

If you want to try to patch FindBoost yourself, please make sure
you're playing with the version from 2.8.3.

http://www.cmake.org/Bug


-- 
Philip Lowman


More information about the CMake mailing list