Re: [Boost-users] [CMake] [boost][b2] Differenciate 32bit and 64 bit binaries when using CMake.
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
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 for other developers of my project, 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
participants (1)
-
Klaim - Joël Lamotte