A free, open-source, robust yet user-friendly, compact and cross-platform tool for OpenPGP encryption. It stands out as an exceptional GUI frontend for the modern GnuPG (gpg).
Surely not /usr/local/lib! It's also odd that there are multiple paths for each operating system. I can install the library anywhere I would want to. It's also odd to force the use of static library. The proper way would be to do like:
// already searches /usr/local/lib by itself, because it should be listed in `CMAKE_LIBRARY_PATH`
find_library(gpgme NAMES libgpgme.a)
target_link_libraries(gpg PUBLIC
${gpgme}
)
That way If I want to I can cmake -D GPGME=/my/path/to/libgpgme.a specify manual path.
Lines in
src/gpg/CMakeLists.txt
are odd:Surely not
/usr/local/lib
! It's also odd that there are multiple paths for each operating system. I can install the library anywhere I would want to. It's also odd to force the use of static library. The proper way would be to do like:That way If I want to I can
cmake -D GPGME=/my/path/to/libgpgme.a
specify manual path.