CPackDeb: Provide shlibs.local override
hi all, I have not found any "valid" solution. My project which installs in /opt/xxx with RPATH/RUNPATH set according to it, provides a library (and soname version) equal to one provided by the system. dpkg-shlibdeps clearly returns the system package and not the one provided by the project's packages.
My actual solution is to patch CPackDeb.cmake adding
file(WRITE {CPACK_TEMPORARY_DIRECTORY}/debian/shlibs.local "
{CPACK_DEBIAN_SHLIBS_LOCAL}")
and set in my application CPACK_DEBIAN_SHLIBS_LOCAL var.
Best Paolo
Edited by pmsoftware78