diff options
author | Saturneric <[email protected]> | 2021-06-27 20:00:25 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2021-06-27 20:00:25 +0000 |
commit | a2ecdaddaa3dfb4fab5ecee6b630fb9af2ed22c9 (patch) | |
tree | e8fbbe3f4cf34f53f0d1f6c0a4229e7f1575cd78 /src | |
parent | Add and improve file operation functions. (diff) | |
parent | Update release.yml & debug.yml; (diff) | |
download | GpgFrontend-a2ecdaddaa3dfb4fab5ecee6b630fb9af2ed22c9.tar.gz GpgFrontend-a2ecdaddaa3dfb4fab5ecee6b630fb9af2ed22c9.zip |
Merge remote-tracking branch 'origin/develop' into develop
Diffstat (limited to 'src')
-rw-r--r-- | src/gpg/CMakeLists.txt | 12 |
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() |