-
Notifications
You must be signed in to change notification settings - Fork 125
/
Copy pathreflectcpp-config.cmake.in
58 lines (45 loc) · 1.52 KB
/
reflectcpp-config.cmake.in
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
@PACKAGE_INIT@
set(REFLECTCPP_JSON @REFLECTCPP_JSON@)
set(REFLECTCPP_BSON @REFLECTCPP_BSON@)
set(REFLECTCPP_CAPNPROTO @REFLECTCPP_CAPNPROTO@)
set(REFLECTCPP_CBOR @REFLECTCPP_CBOR@)
set(REFLECTCPP_FLEXBUFFERS @REFLECTCPP_FLEXBUFFERS@)
set(REFLECTCPP_MSGPACK @REFLECTCPP_MSGPACK@)
set(REFLECTCPP_TOML @REFLECTCPP_TOML@)
set(REFLECTCPP_UBJSON @REFLECTCPP_UBJSON@)
set(REFLECTCPP_XML @REFLECTCPP_XML@)
set(REFLECTCPP_YAML @REFLECTCPP_YAML@)
set(REFLECTCPP_USE_BUNDLED_DEPENDENCIES @REFLECTCPP_USE_BUNDLED_DEPENDENCIES@)
if(REFLECTCPP_BSON OR REFLECTCPP_CAPNPROTO OR REFLECTCPP_CBOR OR REFLECTCPP_FLEXBUFFERS OR REFLECTCPP_MSGPACK OR REFLECTCPP_TOML OR REFLECTCPP_UBJSON OR REFLECTCPP_XML OR REFLECTCPP_YAML OR (REFLECTCPP_JSON AND NOT REFLECTCPP_USE_BUNDLED_DEPENDENCIES))
include(CMakeFindDependencyMacro)
endif()
include(${CMAKE_CURRENT_LIST_DIR}/reflectcpp-exports.cmake)
if (REFLECTCPP_JSON AND NOT REFLECTCPP_USE_BUNDLED_DEPENDENCIES)
find_dependency(ctre)
find_dependency(yyjson)
endif()
if (REFLECTCPP_BSON)
find_dependency(bson-1.0)
endif ()
if (REFLECTCPP_CAPNPROTO)
find_dependency(CapnProto)
endif ()
if (REFLECTCPP_CBOR OR REFLECTCPP_UBJSON)
find_dependency(jsoncons)
endif ()
if (REFLECTCPP_FLEXBUFFERS)
find_dependency(flatbuffers)
endif ()
if (REFLECTCPP_MSGPACK)
find_dependency(msgpack-c)
endif()
if (REFLECTCPP_TOML)
find_dependency(toml11)
endif()
if (REFLECTCPP_XML)
find_dependency(pugixml)
endif ()
if (REFLECTCPP_YAML)
find_dependency(yaml-cpp)
endif ()
check_required_components(reflectcpp)