aboutsummaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2022-05-07 21:25:24 +0000
committerSaturneric <[email protected]>2022-05-07 21:25:24 +0000
commit9a9f648824cbfc1b9075e1793504e541a700a721 (patch)
tree3e5c4c0182887436eb1990817146511995324b95 /src/core
parentfix: link issue of intl in linux platform (diff)
downloadGpgFrontend-9a9f648824cbfc1b9075e1793504e541a700a721.tar.gz
GpgFrontend-9a9f648824cbfc1b9075e1793504e541a700a721.zip
fix: solve some issues
1. slove deb packing issues 2. solve ci issues
Diffstat (limited to '')
-rw-r--r--src/core/CMakeLists.txt12
1 files changed, 2 insertions, 10 deletions
diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt
index e87e32f3..dde81c0a 100644
--- a/src/core/CMakeLists.txt
+++ b/src/core/CMakeLists.txt
@@ -55,16 +55,8 @@ target_include_directories(gpgfrontend_core PUBLIC
target_sources(gpgfrontend_core PUBLIC
${CMAKE_SOURCE_DIR}/third_party/easyloggingpp/src/easylogging++.cc)
-if (LINUX AND GPGFRONTEND_GENERATE_LINUX_INSTALL_SOFTWARE)
- # froce to link gnupg static libraries for deb
- find_library(GPG_ERROR_LIB libgpg-error.a)
- find_library(ASSUAN_LIB libassuan.a)
- find_library(GPGME_LIB libgpgme.a)
- target_link_libraries(gpgfrontend_core ${GPGME_LIB} ${ASSUAN_LIB} ${GPG_ERROR_LIB})
-else ()
- # link gnupg libraries
- target_link_libraries(gpgfrontend_core gpgme assuan gpg-error)
-endif ()
+# link gnupg libraries
+target_link_libraries(gpgfrontend_core gpgme assuan gpg-error)
# link openssl
target_link_libraries(gpgfrontend_core OpenSSL::SSL OpenSSL::Crypto)
# link Qt AES