From 27b6a75c7d3f0d86253bc465416d2a5bd05c532a Mon Sep 17 00:00:00 2001 From: Pcornat Date: Tue, 23 Mar 2021 21:50:51 +0100 Subject: [PATCH] Correction and example --- CMakeLists.txt | 2 +- config.json | 12 +++++++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9752af9..1bdbb7d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -6,7 +6,7 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON) set(CMAKE_CXX_EXTENSIONS OFF) set(CMAKE_CXX_COMPILER_LAUNCHER ccache) -find_package(Boost REQUIRED COMPONENTS system) +find_package(Boost REQUIRED COMPONENTS system program_options) find_package(OpenSSL REQUIRED) find_package(OpenMP REQUIRED) include_directories(${Boost_INCLUDE_DIR} ${OpenSSL_INCLUDE_DIR}) diff --git a/config.json b/config.json index 0e0dcd2..e5e6da0 100644 --- a/config.json +++ b/config.json @@ -1,3 +1,13 @@ { - + "content": { + "path": "" + }, + "cache": { + "enable_cache": false, + "cache_size": 1024 + }, + "ssl": { + "pem_path": "/path/to/chain/file", + "cert_path": "/path/to/cert/file" + } } \ No newline at end of file