aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2022-02-07 13:26:08 +0000
committerSaturneric <[email protected]>2022-02-07 13:26:08 +0000
commit33a2e2555937181f4852c04c09b19b38c9b911c9 (patch)
tree678ee2c18bf0842ecaf92fe4e12f4cd035d6de51 /src
parent<chore>(project): The upgraded version number is v 2.0.5 (diff)
downloadGpgFrontend-33a2e2555937181f4852c04c09b19b38c9b911c9.tar.gz
GpgFrontend-33a2e2555937181f4852c04c09b19b38c9b911c9.zip
<chore, fix>(project): Fix compilation problems
Diffstat (limited to 'src')
-rw-r--r--src/GpgFrontend.h.in1
-rw-r--r--src/core/CMakeLists.txt2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/GpgFrontend.h.in b/src/GpgFrontend.h.in
index 3e467f3d..78ab6e6a 100644
--- a/src/GpgFrontend.h.in
+++ b/src/GpgFrontend.h.in
@@ -31,6 +31,7 @@
// standard headers
#include <cstdint>
+#include <optional>
#include <filesystem>
#ifdef WINDOWS
diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt
index f5688b8d..79f2bdc4 100644
--- a/src/core/CMakeLists.txt
+++ b/src/core/CMakeLists.txt
@@ -40,7 +40,7 @@ set(GPGME_LIB_DIR ${UTILS_DIR}/gpgme/lib)
# link third-party libraries
target_link_libraries(gpgfrontend_core easyloggingpp config++)
# link boost libraries
-target_link_libraries(gpgfrontend_core Boost::date_time)
+target_link_libraries(gpgfrontend_core Boost::date_time Boost::system)
# link gnupg libraries
target_link_libraries(gpgfrontend_core gpgme assuan gpg-error)
# link openssl