Correction and example
This commit is contained in:
parent
a4125d8edf
commit
27b6a75c7d
@ -6,7 +6,7 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
|||||||
set(CMAKE_CXX_EXTENSIONS OFF)
|
set(CMAKE_CXX_EXTENSIONS OFF)
|
||||||
set(CMAKE_CXX_COMPILER_LAUNCHER ccache)
|
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(OpenSSL REQUIRED)
|
||||||
find_package(OpenMP REQUIRED)
|
find_package(OpenMP REQUIRED)
|
||||||
include_directories(${Boost_INCLUDE_DIR} ${OpenSSL_INCLUDE_DIR})
|
include_directories(${Boost_INCLUDE_DIR} ${OpenSSL_INCLUDE_DIR})
|
||||||
|
12
config.json
12
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"
|
||||||
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user