diff options
author | Saturneric <[email protected]> | 2021-06-25 22:52:36 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2021-06-25 22:52:36 +0000 |
commit | b90e02898e3498c22a5e463af972e55fb8176f0b (patch) | |
tree | 2b00209f05de5c86d9c795816b50278f13fdb55b | |
parent | Set as minor version update (diff) | |
parent | Make Static Link for gpg libraries for macOS (diff) | |
download | GpgFrontend-b90e02898e3498c22a5e463af972e55fb8176f0b.tar.gz GpgFrontend-b90e02898e3498c22a5e463af972e55fb8176f0b.zip |
Merge branch 'develop' of ssh://tunnel.bktus.com:30412/Saturneric/GPGFrontend into develop-patch
-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..b9385549 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 Unix") + 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() |