summaryrefslogblamecommitdiff
path: root/user/trojita/use-qgpgme.patch
blob: 98e25603e9941e1863ea343d4e6f5ba68287808c (plain) (tree)
























                                                                                                                                                             
diff -Nurd trojita-0.7/CMakeLists.txt trojita-0.7.new/CMakeLists.txt
--- trojita-0.7/CMakeLists.txt	2016-06-15 02:17:23.000000000 -0500
+++ trojita-0.7.new/CMakeLists.txt	2018-07-31 01:06:59.887245141 -0500
@@ -94,7 +94,7 @@
 trojita_find_package(Git "" "" "" "")
 
 trojita_find_package(Mimetic "" "http://www.codesink.org/mimetic_mime_library.html" "C++ MIME Library" "Required for client-side MIME parsing" WITH_MIMETIC)
-trojita_find_package(KF5Gpgmepp "" "https://quickgit.kde.org/?p=gpgmepp.git" "C++ bindings for gpgme" "Needed for encrypted/signed e-mails" WITH_GPGMEPP)
+trojita_find_package(Gpgmepp "" "https://quickgit.kde.org/?p=gpgmepp.git" "C++ bindings for gpgme" "Needed for encrypted/signed e-mails" WITH_GPGMEPP)
 trojita_option(WITH_CRYPTO_MESSAGES "Enable support for encrypted messages" AUTO "WITH_MIMETIC;WITH_GPGMEPP")
 
 if(WIN32)
@@ -626,11 +626,7 @@
 endif()
 if(WITH_CRYPTO_MESSAGES)
   if(WITH_GPGMEPP)
-    if (WIN32)
-      target_link_libraries(Cryptography KF5::Gpgmepp KF5::QGpgme)
-    else()
-      target_link_libraries(Cryptography KF5::Gpgmepp-pthread KF5::QGpgme)
-    endif()
+    target_link_libraries(Cryptography Gpgmepp QGpgme)
   endif()
 endif()