4lex4 / scantailor-advanced

ScanTailor Advanced is the version that merges the features of the ScanTailor Featured and ScanTailor Enhanced versions, brings new ones and fixes.
GNU General Public License v3.0
1.15k stars 128 forks source link

Include dependencies in CPACK *.deb file #135

Closed jeremydmoore closed 4 years ago

jeremydmoore commented 4 years ago

Hello,

I am trying to automate the installation of dependencies for ScanTailor Advanced using apt-get while installing in an Ubuntu Docker container, but CMakeLists.txt doesn't include the needed dependancies in the *.deb file.

Easy fix, just need to set(CPACK_DEBIAN_PACKAGE_SHLIBDEPS ON) -- pull request coming in momentarily

4lex4 commented 4 years ago

You don't need to change source files to manage cpack options, just use cpack -G "DEB" -D CPACK_DEBIAN_PACKAGE_SHLIBDEPS=ON, as pointed in the instruction.