diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index 526c0bf..d722ced 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -18,6 +18,10 @@ jobs: cmake ../ make cpack -G DEB + - name: Try install it + run: | + cd build + sudo apt install ./*.deb - uses: actions/upload-artifact@v2 with: name: ubuntu-20.04-deb-package diff --git a/CMakeLists.txt b/CMakeLists.txt index 501f634..0e282ce 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -239,7 +239,7 @@ elseif (APPLE) # ... elseif (UNIX) set (CPACK_SYSTEM_NAME "${CMAKE_SYSTEM_NAME}-${CMAKE_SYSTEM_PROCESSOR}") - set (CPACK_DEBIAN_PACKAGE_DEPENDS "libqt5svg5, libexiv2-14") + set (CPACK_DEBIAN_PACKAGE_SHILIBDEPS ON) set (CPACK_DEBIAN_PACKAGE_RECOMMENDS "kimageformat-plugins") endif()