]> git.proxmox.com Git - ceph.git/blob - ceph/src/jaegertracing/opentelemetry-cpp/tools/vcpkg/ports/upb/add-all-libs-target.patch
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / jaegertracing / opentelemetry-cpp / tools / vcpkg / ports / upb / add-all-libs-target.patch
1 diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt
2 index 0155a7b..7850b2d 100644
3 --- a/cmake/CMakeLists.txt
4 +++ b/cmake/CMakeLists.txt
5 @@ -66,7 +66,7 @@ endif()
6 enable_testing()
7
8 add_library(port INTERFACE)
9 -add_library(descriptor_upbproto INTERFACE)
10 +add_library(descriptor_upb_proto INTERFACE)
11 add_library(upb
12 ../upb/decode.c
13 ../upb/decode.int.h
14 @@ -167,6 +167,25 @@ target_link_libraries(upb_json
15 upb_pb)
16 add_library(wyhash INTERFACE)
17
18 +add_library(all_libs INTERFACE)
19 +target_link_libraries(all_libs
20 + INTERFACE
21 + upb
22 + fastdecode
23 + upb_json
24 + upb_pb
25 + port
26 + table
27 + descriptor_upb_proto
28 + handlers
29 + reflection
30 + textformat
31 +)
32 +set_target_properties(reflection PROPERTIES OUTPUT_NAME upb_reflection)
33 +set_target_properties(handlers PROPERTIES OUTPUT_NAME upb_handlers)
34 +set_target_properties(fastdecode PROPERTIES OUTPUT_NAME upb_fastdecode)
35 +set_target_properties(textformat PROPERTIES OUTPUT_NAME upb_textformat)
36 +
37 install(
38 DIRECTORY ../upb
39 DESTINATION include
40 @@ -184,9 +203,11 @@ install(TARGETS
41 upb_pb
42 port
43 table
44 - descriptor_upbproto
45 + descriptor_upb_proto
46 handlers
47 reflection
48 + textformat
49 + all_libs
50 EXPORT upb-config
51 )
52 install(EXPORT upb-config NAMESPACE upb:: DESTINATION share/upb)