aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/protobuf
diff options
context:
space:
mode:
authorsvidyuk <svidyuk@yandex-team.ru>2022-07-01 09:02:32 +0300
committersvidyuk <svidyuk@yandex-team.ru>2022-07-01 09:02:32 +0300
commit3c9bba8e28fdf3bca1abbce2a72e27c542c2fac4 (patch)
tree813632dc1e042d4799bb1a5838d02c781c977218 /contrib/libs/protobuf
parent77cb1379853232a9e0f5540d74d564dc76c9c208 (diff)
downloadydb-3c9bba8e28fdf3bca1abbce2a72e27c542c2fac4.tar.gz
Hackish NO_COMPILER_WARNINGS support
Proper implementation must be done as part of YMAKE-91 YMAKE-91 ref:8b77363477972e5927f43d53d571cd60dd458995
Diffstat (limited to 'contrib/libs/protobuf')
-rw-r--r--contrib/libs/protobuf/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/libs/protobuf/CMakeLists.txt b/contrib/libs/protobuf/CMakeLists.txt
index 50dec0e151..1e1aa12477 100644
--- a/contrib/libs/protobuf/CMakeLists.txt
+++ b/contrib/libs/protobuf/CMakeLists.txt
@@ -13,6 +13,7 @@ target_compile_options(contrib-libs-protobuf PRIVATE
-DHAVE_CONFIG_H
-DHAVE_PTHREAD=1
-DHAVE_ZLIB=1
+ -Wno-everything
)
target_include_directories(contrib-libs-protobuf PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
@@ -112,6 +113,7 @@ target_compile_options(contrib-libs-protobuf.global PRIVATE
-DHAVE_CONFIG_H
-DHAVE_PTHREAD=1
-DHAVE_ZLIB=1
+ -Wno-everything
)
target_include_directories(contrib-libs-protobuf.global PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src