diff options
Diffstat (limited to '')
-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 |