diff options
author | Michael Raitza <spacefrogg-devel@meterriblecrew.net> | 2020-07-28 21:08:39 +0200 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2020-10-30 10:08:00 -0700 |
commit | f8e8cc160048cc7032254f1db7548c68571c3409 (patch) | |
tree | f9196d0624e1aa88924f4c0d33a767686026eba4 /src/CMakeLists.txt | |
parent | eaf095ec3b0017f824cdbfe4e9e4bc42331d421a (diff) | |
download | fork-ledger-f8e8cc160048cc7032254f1db7548c68571c3409.tar.gz fork-ledger-f8e8cc160048cc7032254f1db7548c68571c3409.tar.bz2 fork-ledger-f8e8cc160048cc7032254f1db7548c68571c3409.zip |
Implement cryptographic access to files using GPGME
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r-- | src/CMakeLists.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index b3d13a29..30d97cb9 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -53,6 +53,11 @@ set(LEDGER_SOURCES utils.cc wcwidth.cc) +if (HAVE_GPGME) + list(APPEND LEDGER_SOURCES + gpgme.cc) +endif() + if (HAVE_BOOST_PYTHON) list(APPEND LEDGER_SOURCES py_account.cc @@ -94,6 +99,7 @@ set(LEDGER_INCLUDES format.h generate.h global.h + gpgme.h history.h item.h iterators.h @@ -284,6 +290,10 @@ if (BUILD_LIBRARY) add_executable(ledger main.cc global.cc) target_link_libraries(ledger libledger) + if (HAVE_GPGME) + target_link_libraries(ledger Gpgmepp) + endif() + if (HAVE_BOOST_PYTHON) target_link_libraries(ledger ${Python_LIBRARIES}) endif() |