aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/protoc/CMakeLists.darwin.txt
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/CMakeLists.darwin.txt
parent8febb7430db23f80ae26a24cbfdc17e40ae3d1db (diff)
downloadydb-a9e5890a07cad8cfc475223eb12855a31ec8318a.tar.gz
NO_COMPILER_WARNINGS in cmake msvc builds
Diffstat (limited to 'contrib/libs/protoc/CMakeLists.darwin.txt')
-rw-r--r--contrib/libs/protoc/CMakeLists.darwin.txt2
1 files changed, 1 insertions, 1 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