Boost logo

Boost Users :

Subject: Re: [Boost-users] Boost version 1.69.0 already included in list of known versions in FindBoost.cmake module
From: Leon Mlakar (leon_at_[hidden])
Date: 2018-12-17 15:22:14


On 17.12.2018 12:42, Osman Zakir via Boost-users wrote:
> I looked in the FindBoost.cmake module and saw that version 1.69.0 is
> already listed as a known version.  But when I configured CMake to
> build Jinja2Cpp after building Boost 1.69.0, I couldn't get it to find
> some modules of Boost. There were warning messages about imported
> targets and dependences or some such.  Jinja2Cpp uses an earlier
> version of Boost from its own submodule in this case (it has a GitHub
> repository that I cloned from and built), but I'd like it if it used
> the latest version of Boost instead of an earlier version.
>
> My Boost installation is in C:/boost_1_69_0/, by the way. Could this
> be causing problems, or will it still be fine I configure CMake
> correctly?  What CMake option should I use to find Boost?  -DBOOST_ROOT?

I usually set both BOOST_ROOT and BOOST_LIBRARYDIR in the environment.
The latter to match the Visual Studio version and the desired code model
(win32 vs. win64) as I usually install multiple library binaries.

Cheers,

Leon



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net