[CMake] Boost 1.70.0 -- FindBoost issues? No linker libraries found (Mateusz Loskot)

Andrew Maclean andrew.amaclean at gmail.com
Tue Apr 16 18:01:00 EDT 2019


Thank you so much, this works perfectly.


>
> ---------- Forwarded message ----------
> From: Mateusz Loskot <mateusz at loskot.net>
> To: cmake at cmake.org
> Cc:
> Bcc:
> Date: Tue, 16 Apr 2019 01:10:44 +0200
> Subject: Re: [CMake] Boost 1.70.0 -- FindBoost issues? No linker libraries
> found
> On Tue, 16 Apr 2019 at 01:01, Andrew Maclean <andrew.amaclean at gmail.com>
> wrote:
> >
> >  In build.ninja all the requested linker libraries are there e.g.
> /usr/local/lib/libboost_date_time.so>
> > Boost 1.70
> > When using Boost 1.70 all I get in the CMakeLists.txt file are entries
> like:
> > //The directory containing a CMake configuration file for
> boost_date_time.
> > boost_date_time_DIR:PATH=/usr/local/lib/cmake/boost_date_time-1.70.0
>
> Installation of Boost 1.70 generates and deploys a brand new
> BoostConfig.cmake
> machinery which is still being tested.
>
> Try setting -DBoost_NO_BOOST_CMAKE=ON to get the old FindBoost.cmake
> behaviour
> https://github.com/Kitware/CMake/blob/master/Modules/FindBoost.cmake#L238
>
> Best regards,
> --
> Mateusz Loskot, http://mateusz.loskot.net
>
>
>
>
> --
___________________________________________
Andrew J. P. Maclean

___________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cmake.org/pipermail/cmake/attachments/20190417/9e252916/attachment-0001.html>


More information about the CMake mailing list