From f8e8cc160048cc7032254f1db7548c68571c3409 Mon Sep 17 00:00:00 2001 From: Michael Raitza Date: Tue, 28 Jul 2020 21:08:39 +0200 Subject: Implement cryptographic access to files using GPGME --- src/CMakeLists.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/CMakeLists.txt') 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() -- cgit v1.2.3