-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
38 lines (29 loc) · 1.25 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
cmake_minimum_required(VERSION 3.19.0)
cmake_policy(VERSION 3.19.0...3.27.4)
option(HUNTER_RUN_UPLOAD "Upload cache binaries" ON)
include(FetchContent)
FetchContent_Declare(
koinos_cmake
GIT_REPOSITORY https://github.com/koinos/koinos-cmake.git
GIT_TAG v1.0.0
)
FetchContent_MakeAvailable(koinos_cmake)
include("${koinos_cmake_SOURCE_DIR}/Koinos.cmake")
project(koinos-cpp-dependencies)
koinos_add_package(Boost CONFIG REQUIRED
ADD_COMPONENTS system log thread date_time filesystem chrono test program_options exception
FIND_COMPONENTS system log log_setup thread date_time filesystem chrono program_options exception)
koinos_add_package(ethash CONFIG REQUIRED)
koinos_add_package(libsecp256k1-vrf CONFIG REQUIRED)
koinos_add_package(nlohmann_json CONFIG REQUIRED)
koinos_add_package(OpenSSL REQUIRED)
koinos_add_package(rabbitmq-c CONFIG REQUIRED)
koinos_add_package(rocksdb NAME RocksDB CONFIG REQUIRED)
koinos_add_package(yaml-cpp CONFIG REQUIRED)
koinos_add_package(Protobuf CONFIG REQUIRED)
koinos_add_package(fizzy CONFIG REQUIRED)
koinos_add_package(gRPC CONFIG REQUIRED)
koinos_add_package(abseil NAME absl CONFIG REQUIRED)
koinos_add_package(re2 CONFIG REQUIRED)
koinos_add_package(c-ares CONFIG REQUIRED)
koinos_add_package(ZLIB CONFIG REQUIRED)