aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/protobuf
diff options
context:
space:
mode:
authorarcadia-devtools <arcadia-devtools@yandex-team.ru>2022-02-24 11:43:00 +0300
committerarcadia-devtools <arcadia-devtools@yandex-team.ru>2022-02-24 11:43:00 +0300
commit42f6e0ffddb92ca389ac4bcd01acb0caa905c6df (patch)
tree6686ff11d0f47de24bfd487d00002ea3fb732490 /contrib/libs/protobuf
parentae944dbe1a985556fe224f49a2b1ea85147a07fe (diff)
downloadydb-42f6e0ffddb92ca389ac4bcd01acb0caa905c6df.tar.gz
intermediate changes
ref:fb678b285db60965c2b65db96852ae4cfb5879d6
Diffstat (limited to 'contrib/libs/protobuf')
-rw-r--r--contrib/libs/protobuf/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/libs/protobuf/CMakeLists.txt b/contrib/libs/protobuf/CMakeLists.txt
index 4e1700bfd0..e9a4fd025e 100644
--- a/contrib/libs/protobuf/CMakeLists.txt
+++ b/contrib/libs/protobuf/CMakeLists.txt
@@ -1,3 +1,5 @@
+find_package(ZLIB)
+
add_library(contrib-libs-protobuf)
target_compile_options(contrib-libs-protobuf PRIVATE
-DHAVE_CONFIG_H
@@ -13,6 +15,7 @@ target_include_directories(contrib-libs-protobuf PRIVATE
target_link_libraries(contrib-libs-protobuf PUBLIC
contrib-libs-cxxsupp
yutil
+ ZLIB::ZLIB
)
target_sources(contrib-libs-protobuf PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src/google/protobuf/any.cc
@@ -113,6 +116,7 @@ target_include_directories(contrib-libs-protobuf.global PRIVATE
target_link_libraries(contrib-libs-protobuf.global PUBLIC
contrib-libs-cxxsupp
yutil
+ ZLIB::ZLIB
)
target_sources(contrib-libs-protobuf.global PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src/google/protobuf/generated_message_util.cc