aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2021-06-27 20:00:25 +0000
committerSaturneric <[email protected]>2021-06-27 20:00:25 +0000
commita2ecdaddaa3dfb4fab5ecee6b630fb9af2ed22c9 (patch)
treee8fbbe3f4cf34f53f0d1f6c0a4229e7f1575cd78 /src
parentAdd and improve file operation functions. (diff)
parentUpdate release.yml & debug.yml; (diff)
downloadGpgFrontend-a2ecdaddaa3dfb4fab5ecee6b630fb9af2ed22c9.tar.gz
GpgFrontend-a2ecdaddaa3dfb4fab5ecee6b630fb9af2ed22c9.zip
Merge remote-tracking branch 'origin/develop' into develop
Diffstat (limited to 'src')
-rw-r--r--src/gpg/CMakeLists.txt12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/gpg/CMakeLists.txt b/src/gpg/CMakeLists.txt
index a12f371f..49e98b23 100644
--- a/src/gpg/CMakeLists.txt
+++ b/src/gpg/CMakeLists.txt
@@ -7,15 +7,21 @@ set(UTILS_DIR ${CMAKE_SOURCE_DIR}/utils)
set(GPGME_LIB_DIR ${UTILS_DIR}/gpgme/lib)
-IF (MINGW)
+if (MINGW)
message(STATUS "Link GPG Static Library For MINGW")
target_link_libraries(gpg
gpgme gpg-error assuan
Qt5::Network Qt5::PrintSupport Qt5::Widgets Qt5::Test Qt5::Core
wsock32)
+elseif(APPLE)
+ message(STATUS "Link GPG Static Library For macOS")
+ target_link_libraries(gpg
+ /usr/local/lib/libgpgme.a /usr/local/lib/libgpg-error.a /usr/local/lib/libassuan.a
+ Qt5::Network Qt5::PrintSupport Qt5::Widgets Qt5::Test Qt5::Core)
else()
+
message(STATUS "Link GPG Static Library For Unix")
target_link_libraries(gpg
- gpgme gpg-error assuan
+ /usr/local/lib/libgpgme.a /usr/local/lib/libgpg-error.a /usr/local/lib/libassuan.a
Qt5::Network Qt5::PrintSupport Qt5::Widgets Qt5::Test Qt5::Core)
-endif() \ No newline at end of file
+endif()