Boost logo

Boost Users :

Subject: Re: [Boost-users] FindBoost.cmake does not check for include headers
From: rleigh_at_[hidden]
Date: 2016-05-11 10:43:27


On 2016-04-13 18:37, j.wuttke wrote:
> Sorry, Roger,
>
> my mail was not clear enough. I meant to use FindBoost through a
> command like
>
> find_package(Boost 1.48.0 COMPONENTS date_time program_options
> REQUIRED)
>
> i.e. I want to check the presence of *specific* Boost components.
> Needed e.g. under Debian, where users are free to install whatever
> subset of Boost.
>
> Package date_time has a header file named 'date_time.hpp';
> package program_option has 'program_options.hpp'.
>
> Isn't this long-term stable? Why not check for the presence of these
> files?

Just for the record, for the original query on boost-users, there is now
a patch ready for testing to address this:
   
http://public.kitware.com/pipermail/cmake-developers/2016-May/028358.html

Regards,
Roger


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