vcpkg/ports/upb/add-all-libs-target.patch
JonLiu1993 756f184553
[gRPC] update to v1.41.0 (#20835)
* [gRPC] update to v1.41.0

* update version

* [upb] Update to 2021-10-19

* Update pacth

* [upb] Fix upstream bug

* Replace depreciate functions

* version

* fix code

* version

* revert patch format

* update version

* Fix review advise

* update version

* Remove extra spaces

* update version

* update version

* Remove space in patch file

* change patch format from CRLF to CF

* update version

* revert patch format

* update version

* revert patch format

* update version

* Remove unnecessary additional

* update version

Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
Co-authored-by: NancyLi1013 <lirui09@beyondsoft.com>
2021-11-11 11:34:39 -08:00

26 lines
655 B
Diff

diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt
index b4f43f9..c90968f 100644
--- a/cmake/CMakeLists.txt
+++ b/cmake/CMakeLists.txt
@@ -137,4 +137,20 @@ add_library(table INTERFACE)
target_link_libraries(table INTERFACE
port)
+add_library(all_libs INTERFACE)
+target_link_libraries(all_libs
+ INTERFACE
+ upb
+ fastdecode
+ utf8_range
+ json
+ port
+ table
+ descriptor_upb_proto
+ reflection
+ textformat
+)
+set_target_properties(reflection PROPERTIES OUTPUT_NAME upb_reflection)
+set_target_properties(fastdecode PROPERTIES OUTPUT_NAME upb_fastdecode)
+set_target_properties(textformat PROPERTIES OUTPUT_NAME upb_textformat)