diff options
author | Saturneric <[email protected]> | 2022-02-07 13:26:08 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2022-02-07 13:26:08 +0000 |
commit | 33a2e2555937181f4852c04c09b19b38c9b911c9 (patch) | |
tree | 678ee2c18bf0842ecaf92fe4e12f4cd035d6de51 | |
parent | <chore>(project): The upgraded version number is v 2.0.5 (diff) | |
download | GpgFrontend-33a2e2555937181f4852c04c09b19b38c9b911c9.tar.gz GpgFrontend-33a2e2555937181f4852c04c09b19b38c9b911c9.zip |
<chore, fix>(project): Fix compilation problems
-rw-r--r-- | CMakeLists.txt | 2 | ||||
-rw-r--r-- | src/GpgFrontend.h.in | 1 | ||||
-rw-r--r-- | src/core/CMakeLists.txt | 2 |
3 files changed, 3 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 4f0625b2..78dc74fd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -403,7 +403,7 @@ elseif (TEST_CORE_BUILD) endif () # Introduce boost -find_package(Boost COMPONENTS date_time REQUIRED) +find_package(Boost COMPONENTS date_time system REQUIRED) # Introduce OpenSSL find_package(OpenSSL REQUIRED) 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 |