-
Notifications
You must be signed in to change notification settings - Fork 35
/
dependencies.cmake
60 lines (46 loc) · 1.86 KB
/
dependencies.cmake
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# hunter dependencies
# https://docs.hunter.sh/en/latest/packages/
# https://docs.hunter.sh/en/latest/packages/pkg/GTest.html
hunter_add_package(GTest)
find_package(GTest CONFIG REQUIRED)
find_package(GMock CONFIG REQUIRED)
# https://docs.hunter.sh/en/latest/packages/pkg/Boost.html
hunter_add_package(Boost COMPONENTS random filesystem)
find_package(Boost CONFIG REQUIRED random filesystem)
## TODO: uncomment when it is really needed
## https://docs.hunter.sh/en/latest/packages/pkg/libjson-rpc-cpp.html
#hunter_add_package(libjson-rpc-cpp)
#find_package(libjson-rpc-cpp CONFIG REQUIRED)
# https://docs.hunter.sh/en/latest/packages/pkg/leveldb.html
hunter_add_package(leveldb)
find_package(leveldb CONFIG REQUIRED)
# https://docs.hunter.sh/en/latest/packages/pkg/xxhash.html
hunter_add_package(xxhash)
find_package(xxhash CONFIG REQUIRED)
# https://docs.hunter.sh/en/latest/packages/pkg/iroha-ed25519.html
hunter_add_package(iroha-ed25519)
find_package(ed25519 CONFIG REQUIRED)
# https://docs.hunter.sh/en/latest/packages/pkg/binaryen.html
hunter_add_package(binaryen)
find_package(binaryen CONFIG REQUIRED)
# https://www.openssl.org/
hunter_add_package(OpenSSL)
find_package(OpenSSL REQUIRED)
# https://developers.google.com/protocol-buffers/
hunter_add_package(Protobuf)
find_package(Protobuf CONFIG REQUIRED)
# http://rapidjson.org
hunter_add_package(RapidJSON)
find_package(RapidJSON CONFIG REQUIRED)
#target_link_libraries(... RapidJSON::rapidjson)
# https://docs.hunter.sh/en/latest/packages/pkg/Microsoft.GSL.html
hunter_add_package(Microsoft.GSL)
find_package(Microsoft.GSL CONFIG REQUIRED)
# not in hunter, added in cmake/Hunter/config.cmake
hunter_add_package(sr25519)
find_package(sr25519 REQUIRED)
# https://docs.hunter.sh/en/latest/packages/pkg/spdlog.html
hunter_add_package(spdlog)
find_package(spdlog CONFIG REQUIRED)
hunter_add_package(libp2p)
find_package(libp2p REQUIRED)