D
D
Denis2018-07-26 12:24:26
linux
Denis, 2018-07-26 12:24:26

How to add 3rd party library to deb package using CPack?

There was a need to create a deb package for a CMake project. I can’t find manuals on how to pack it into the so package, in particular, openCV and Boost are used in the project.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
X
Xano, 2018-07-26
@D3Nd3R

If you need to include it in the deb package, then you need to register install for all dependencies
https://cmake.org/cmake/help/v3.11/command/install.html
But maybe it's better to register dependencies on certain packages?..
https://cmake.org/cmake/help/v3.11/module/CPackDeb.html
CPACK_DEBIAN_PACKAGE_DEPENDS

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question