[CMake] FindBoost: find both win32 and x64 static libs
Hicham Mouline
hicham at mouline.org
Tue Nov 30 17:37:55 EST 2010
As boost libraries naming convention doesn't include in the lib names
whether they are built by msvc9 win32 or x64, I am forced on a winxp 64 box
where I hold both versions to have a different lib directory under
boost_root.
I set BOOST_ROOT then call FIND_PACKAGE(Boost 1.44 COMPONENTS ...).
Am I supposed to detect which of vc9 32bit or 64bit am I generating for and
then set BOOST_LIBRARYDIR depending on that before calling FIND_PACKAGE?
How do I detect bitness?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20101130/abc51cbc/attachment.htm>
More information about the CMake
mailing list