Re: [CMake] Issues using CPack for making a debian package

2016-03-31 Thread Wagner, David
On 23/03/2016 16:15, Domen Vrankar wrote: I'm considering working my problem around by shipping a patched copy of CPackDeb.cmake, using this `-l` option. Has anyone another solution? Other than disabling use of dpkg-shlibdeps with CPACK_DEBIAN_PACKAGE_SHLIBDEPS nothing comes to mind. Would

Re: [CMake] Issues using CPack for making a debian package

2016-03-23 Thread Wagner, David
On 23/03/2016 16:15, Domen Vrankar wrote: I'd like to point out that dpkg-shlibdeps has a `-l` option that looks to me like the best tool for the job (compared to the rpath solution); this option is used in actual debian packages. -ldirectory Add directory to the list of directories

Re: [CMake] Issues using CPack for making a debian package

2016-03-23 Thread Domen Vrankar
> So, I've done some research and I found two things: > - There's a closed bug entry and a very recent patch > (https://cmake.org/Bug/view.php?id=12431; > https://cmake.org/gitweb?p=cmake.git;a=log) that will help fixing this; > - The documentation advises setting the CMAKE_INSTALL_RPATH