diff options
author | Saturneric <[email protected]> | 2022-05-08 11:34:17 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2022-05-08 11:34:17 +0000 |
commit | 475888d78115125cabc1ddaf0d3bd38160f00b26 (patch) | |
tree | 73267dd0f35486b2300064ce5687638c98baf6ec | |
parent | chore: modified compile args. (diff) | |
download | GpgFrontend-475888d78115125cabc1ddaf0d3bd38160f00b26.tar.gz GpgFrontend-475888d78115125cabc1ddaf0d3bd38160f00b26.zip |
fix: solve issues in linux compiling
1. deb dependency update
2. ci update
-rw-r--r-- | src/CMakeLists.txt | 8 | ||||
-rw-r--r-- | src/core/GpgFrontendCore.h | 1 |
2 files changed, 5 insertions, 4 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index dd8dff22..482bfac4 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -257,13 +257,13 @@ endif () if (APPLICATION_BUILD) target_link_libraries(${AppName} gpgfrontend_ui) IF (MINGW) - message(STATUS "Link Application Static Library For MINGW") + message(STATUS "Link Application Library For MINGW") target_link_libraries(${AppName} crypto) elseif (APPLE) - message(STATUS "Link Application Static Library For macOS") + message(STATUS "Link Application Library For macOS") target_link_libraries(${AppName} intl) else () - message(STATUS "Link Application Static Library For Linux") + message(STATUS "Link Application Library For Linux") target_link_libraries(${AppName} crypto pthread) endif () endif () @@ -313,7 +313,7 @@ if (LINUX AND LINUX_INSTALL_SOFTWARE) set(CPACK_DEBIAN_PACKAGE_ARCHITECTURE "amd64") set(CPACK_PACKAGE_CONTACT "[email protected]") SET(CPACK_DEBIAN_PACKAGE_MAINTAINER "Saturneric") - set(CPACK_DEBIAN_PACKAGE_DEPENDS "gpg (>= 2.2), libqt5core5a (>= 5.9), libqt5gui5 (>= 5.9), libqt5widgets5 (>= 5.9), libqt5network5 (>= 5.9), libqt5printsupport5 (>= 5.9), libconfig++-dev (>=1.5)") + set(CPACK_DEBIAN_PACKAGE_DEPENDS "gpg (>= 2.2), libqt5core5a (>= 5.9), libqt5gui5 (>= 5.9), libqt5widgets5 (>= 5.9), libqt5network5 (>= 5.9), libqt5printsupport5 (>= 5.9), libconfig++9v5 (>=1.5), libarchive13(>= 3.4), openssl(>= 1.1.1)") set(CPACK_PACKAGE_VERSION_MAJOR "${PROJECT_VERSION_MAJOR}") set(CPACK_PACKAGE_VERSION_MINOR "${PROJECT_VERSION_MINOR}") set(CPACK_PACKAGE_VERSION_PATCH "${PROJECT_VERSION_PATCH}") diff --git a/src/core/GpgFrontendCore.h b/src/core/GpgFrontendCore.h index 30f8b8dd..90bc36be 100644 --- a/src/core/GpgFrontendCore.h +++ b/src/core/GpgFrontendCore.h @@ -32,6 +32,7 @@ #include "GpgFrontend.h" // std includes +#include <random> #include <filesystem> // boost includes |