aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/protoc
diff options
context:
space:
mode:
authorsvidyuk <svidyuk@yandex-team.com>2023-02-18 07:43:57 +0300
committersvidyuk <svidyuk@yandex-team.com>2023-02-18 07:43:57 +0300
commita9e5890a07cad8cfc475223eb12855a31ec8318a (patch)
tree104d1c6ba83fb89e4373d7582c7a465c9fbbad16 /contrib/libs/protoc
parent8febb7430db23f80ae26a24cbfdc17e40ae3d1db (diff)
downloadydb-a9e5890a07cad8cfc475223eb12855a31ec8318a.tar.gz
NO_COMPILER_WARNINGS in cmake msvc builds
Diffstat (limited to 'contrib/libs/protoc')
-rw-r--r--contrib/libs/protoc/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/protoc/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/protoc/CMakeLists.linux.txt2
3 files changed, 3 insertions, 3 deletions
diff --git a/contrib/libs/protoc/CMakeLists.darwin.txt b/contrib/libs/protoc/CMakeLists.darwin.txt
index 8a58f34f7c..4cce10e7b9 100644
--- a/contrib/libs/protoc/CMakeLists.darwin.txt
+++ b/contrib/libs/protoc/CMakeLists.darwin.txt
@@ -12,7 +12,7 @@ target_compile_options(contrib-libs-protoc PRIVATE
-DHAVE_CONFIG_H
-DHAVE_PTHREAD=1
-DHAVE_ZLIB=1
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(contrib-libs-protoc PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src
diff --git a/contrib/libs/protoc/CMakeLists.linux-aarch64.txt b/contrib/libs/protoc/CMakeLists.linux-aarch64.txt
index 863f30acaa..b6a3dcc4bc 100644
--- a/contrib/libs/protoc/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/protoc/CMakeLists.linux-aarch64.txt
@@ -12,7 +12,7 @@ target_compile_options(contrib-libs-protoc PRIVATE
-DHAVE_CONFIG_H
-DHAVE_PTHREAD=1
-DHAVE_ZLIB=1
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(contrib-libs-protoc PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src
diff --git a/contrib/libs/protoc/CMakeLists.linux.txt b/contrib/libs/protoc/CMakeLists.linux.txt
index 863f30acaa..b6a3dcc4bc 100644
--- a/contrib/libs/protoc/CMakeLists.linux.txt
+++ b/contrib/libs/protoc/CMakeLists.linux.txt
@@ -12,7 +12,7 @@ target_compile_options(contrib-libs-protoc PRIVATE
-DHAVE_CONFIG_H
-DHAVE_PTHREAD=1
-DHAVE_ZLIB=1
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(contrib-libs-protoc PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src