[Rock-dev] FindBoost.cmake

Peter Soetens peter at thesourceworks.com
Thu May 19 22:45:47 CEST 2011


On Thu, May 19, 2011 at 7:56 PM, Thomas Roehr <thomas.roehr at dfki.de> wrote:
> On 19.05.2011 16:41, Peter Soetens wrote:
>>
>> On Thursday 19 May 2011 15:19:41 Thomas Roehr wrote:
>>>
>>> The current FindBoost.cmake does not work as it should:
>>> http://public.kitware.com/Bug/view.php?id=12205
>>> I put the fixed version into base/types/cmake since it will obviously
>>> take some time until the fixed version goes into the cmake package.
>>>
>>> With the fixed version exporting BOOST_ROOT actually works as expected.
>>>
>> I had removed the FindBoost.cmake from RTT master after the rock-merge,
>> since
>> the version put in place was not compatible with older CMake versions
>> (only
>> 2.8 or so). So be aware of copy/pasting find* macros from a recent/future
>> cmake
>> version, I can't accept it 'upstream' if it breaks cmake 2.6.0.
>>
>> Peter
>
> That was unfortunately true in this case as well, work with >2.6.2. However,
> I replaced the version comparison causing the issue, by an existing macro
> function, so my build ran now fine for the cmake 2.6.0 version as well.
>

OK.

I can pull this back into rtt mainline if you provide me a pull request...

Peter


More information about the Rock-dev mailing list