Re: Boost 1.70.0 -- FindBoost issues? No linker libraries found (Mateusz Loskot)

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: Boost 1.70.0 -- FindBoost issues? No linker libraries found (Mateusz Loskot)

Andrew Maclean-3
Thank you so much, this works perfectly.



---------- Forwarded message ----------
From: Mateusz Loskot <[hidden email]>
To: [hidden email]
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 <[hidden email]> 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

___________________________________________

--

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
https://cmake.org/mailman/listinfo/cmake