small bug related to OROCOS_SUFFIX?

I use CMake 2.8.6 and RTT 2.5.0 on linux. I want to avoid installation of components etc. in directories that have the target in their names. According to the doc, this behavior can be obtained by setting OROCOS_SUFFIX to the empty string. However, when I do that, I do not get the desired effect. To resolve, there are two options: - set OROCOS_SUFFIX to "/" - or change line 91 of UseOROCOS-RTT.cmake into "if ( NOT DEFINED OROCOS_SUFFIX )".

Regards, Theo

small bug related to OROCOS_SUFFIX?

On Wed, Dec 14, 2011 at 7:33 PM, <t [dot] j [dot] a [dot] devries [..] ...> wrote:
> I use CMake 2.8.6 and RTT 2.5.0 on linux.
> I want to avoid installation of components etc. in directories that have the
> target in their names. According to the doc, this behavior can be obtained by
> setting OROCOS_SUFFIX to the empty string. However, when I do that, I do not
> get the desired effect. To resolve, there are two options:
> - set OROCOS_SUFFIX to "/"
> - or change line 91 of UseOROCOS-RTT.cmake into "if ( NOT DEFINED
> OROCOS_SUFFIX )".

Thanks for spotting this. The latter is the correct fix. I'll push this.

Peter