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 to search for private
shared libraries (since dpkg 1.17.0). This option can be used multiple
times.


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 you be willing to provide the patch with `-l` option for
inclusion into CPack and a minimal test CMakeLists.txt showing its
usage?

I'll try and do that.

David

--
David Wagner

PEG->IPG->EIG->cAVS (Audio CoE)->FDK MiddleWare Core

complex != complicated
---------------------------------------------------------------------
Intel Corporation SAS (French simplified joint stock company)
Registered headquarters: "Les Montalets"- 2, rue de Paris, 92196 Meudon Cedex, France
Registration Number:  302 456 199 R.C.S. NANTERRE
Capital: 4,572,000 Euros

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
--

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake

Reply via email to