[CMake] cmake --help-module FindBoost gives older version of boost

Pritesh Acharya priteshacharya at gmail.com
Sun Jan 26 23:25:10 EST 2014


>
> Since you are not telling us your CMake version I can't say for sure,
> but it may just be that the FindBoost module does not know about the
> newer Boost version.
>
> > how can i update the FindBoost.cmake file so that I get new version ?
>
> set(Boost_ADDITIONAL_VERSIONS 1.55 1.55.0)
> find_package(Boost)
>
> Make sure to do that with a clean cache (e.g. new build dir), otherwise
> the result of the previous run will be reused.
>
> Eike
>

cmake version 2.8.12.1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20140127/57700b5b/attachment.html>


More information about the CMake mailing list