[CMake] Is INSTALL_RPATH Meant to be Relative to CMAKE_INSTALL_PREFIX?

2013-02-05 Thread David Narvaez
Hi all, I found code that sets LIB_INSTALL_DIR to a relative path (lib or lib64), then later calls FindKDE4Internal.cmake where CMAKE_INSTALL_RPATH is set to LIB_INSTALL_DIR and ultimatelysets the rpath of a library to something containing the relative path lib. Was that relative path meant to be

Re: [CMake] Is INSTALL_RPATH Meant to be Relative to CMAKE_INSTALL_PREFIX?

2013-02-05 Thread David Narvaez
On Tue, Feb 5, 2013 at 1:15 PM, Alexander Neundorf a.neundorf-w...@gmx.net wrote: I know this was the case at some point in I think the frameworks branch of kdelibs, but this was wrong, and I think it has been fixed. Or where did you see this ? I'm currently using KDE 4.10 RC 2 and, as far as

Re: [CMake] Is INSTALL_RPATH Meant to be Relative to CMAKE_INSTALL_PREFIX?

2013-02-05 Thread David Narvaez
On Tue, Feb 5, 2013 at 3:29 PM, Alexander Neundorf a.neundorf-w...@gmx.net wrote: What exactly are you building ? Is LIB_INSTALL_DIR preset somewhere ? The software in question is GammaRay, see https://github.com/KDAB/GammaRay/blob/master/CMakeLists.txt#L124 where it sets the LIB_INSTALL_DIR