[CMake] [boost][b2] Differenciate 32bit and 64 bit binaries when using CMake.

Klaim - Joël Lamotte mjklaim at gmail.com
Thu Oct 11 08:19:04 EDT 2012


Júlio Hoffimann said:
>
> I don't know if i understood correctly, but you can set the library
> directory by hand, please refer to
> /usr/share/cmake-<version>/Modules/FindBoost.cmake, in particular the
> variable BOOST_LIBRARYDIR.



On Thu, Oct 11, 2012 at 1:29 PM, Miller, Frank <FMiller at sjm.com> wrote:

>  A simple solution would be to install only the 64bit version of boost
> into a new directory and change the environment variable to point there.
> Then FindBoost will only be able to see the version you want.
>


Thanks, this will solve my immediate problem, but it don't solve it in
general. (I will use it though, so thanks)
I can't guarantee where the boost libraries are installed, that's why I use
FindBoost.
My current understanding is that boost don't have a specific default lib
dir for different address models, which is the source of the problem as
FindBoost script can't rely on a protocol to find these lib files.

Am I correct?

Joel Lamotte
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20121011/f39a7ddf/attachment.htm>


More information about the CMake mailing list