KDL patch for CMake 2.8

Default path behavior has changed between CMake 2.8 and 2.6. The problem crops up in the install phase of KDL. Patch attached. See

http://www.cmake.org/cmake/help/cmake-2-8-docs.html#command:configure_file

vs

http://www.cmake.org/cmake/help/cmake2.6docs.html#command:configure_file

Tested under Snow Leopard with CMake 2.8 and 2.6.4.

Stephen

AttachmentSize
0001-cmake-Cope-with-path-change-behaviour-in-CMake-2.8.patch3.65 KB
Ruben Smits's picture

KDL patch for CMake 2.8

On Mon, Jan 4, 2010 at 11:13 PM, S Roderick <kiwi [dot] net [..] ...> wrote:
> Default path behavior has changed between CMake 2.8 and 2.6. The problem crops up in the install phase of KDL. Patch attached. See
>
> http://www.cmake.org/cmake/help/cmake-2-8-docs.html#command:configure_file
>
> vs
>
> http://www.cmake.org/cmake/help/cmake2.6docs.html#command:configure_file
>
>
> Tested under Snow Leopard with CMake 2.8 and 2.6.4.

We already noticed the problem, but i did not yet took the time to
commit the solution, thanks for sending the patch, it's committed on
trunk:

svn ci -m"fix installation problems due to: Default path behavior has
changed between CMake 2.8 and 2.6., thanks Stephen for the patch"
Sending src/CMakeLists.txt
Sending src/bindings/rtt/CMakeLists.txt
Sending src/bindings/rtt/corba/CMakeLists.txt
Transmitting file data ...
Committed revision 31355.

> Stephen
>
>