typo in UseOROCOS-RTT.cmake?

Line 155 of UseOROCOS-RTT.cmake now is as follows:

 if (COMPONENT_VERSION)
Shouldn't this be:
 if (ADD_COMPONENT_VERSION)

and what is ORO_COMPONENT_VERSION??

Theo

typo in UseOROCOS-RTT.cmake?

On Monday 16 May 2011 15:43:31 t [dot] j [dot] a [dot] devries [..] ... wrote:
> Line 155 of UseOROCOS-RTT.cmake now is as follows:
> 
>  if (COMPONENT_VERSION)
>
> Shouldn't this be:
> 
>  if (ADD_COMPONENT_VERSION)
>
>
> and what is ORO_COMPONENT_VERSION??
>

There was a typo, but not as you suggest. It's the ORO_COMPONENT_VERSION that
needs to be renamed to ADD_COMPONENT_VERSION. COMPONENT_VERSION is a 'global'
cmake variable you can set. I pushed the fix to toolchain-2.3.

Peter

typo in UseOROCOS-RTT.cmake?

Ok, thanks!
Theo.

2011/5/20 Peter Soetens <peter [..] ...>

> On Monday 16 May 2011 15:43:31 t [dot] j [dot] a [dot] devries [..] ... wrote:
> > Line 155 of UseOROCOS-RTT.cmake now is as follows:
> > &#10;&gt; &gt;  if (COMPONENT_VERSION)&#10;&gt; &gt;
> > Shouldn't this be:
> > &#10;&gt; &gt;  if (ADD_COMPONENT_VERSION)&#10;&gt; &gt;
> >
> > and what is ORO_COMPONENT_VERSION??
> >
>
> There was a typo, but not as you suggest. It's the ORO_COMPONENT_VERSION
> that
> needs to be renamed to ADD_COMPONENT_VERSION. COMPONENT_VERSION is a
> 'global'
> cmake variable you can set. I pushed the fix to toolchain-2.3.
>
> Peter
>