aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/libc_compat
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/libc_compat
parent8febb7430db23f80ae26a24cbfdc17e40ae3d1db (diff)
downloadydb-a9e5890a07cad8cfc475223eb12855a31ec8318a.tar.gz
NO_COMPILER_WARNINGS in cmake msvc builds
Diffstat (limited to 'contrib/libs/libc_compat')
-rw-r--r--contrib/libs/libc_compat/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/libc_compat/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/libc_compat/CMakeLists.linux.txt2
3 files changed, 3 insertions, 3 deletions
diff --git a/contrib/libs/libc_compat/CMakeLists.darwin.txt b/contrib/libs/libc_compat/CMakeLists.darwin.txt
index 99bd55a033..536ee46c8b 100644
--- a/contrib/libs/libc_compat/CMakeLists.darwin.txt
+++ b/contrib/libs/libc_compat/CMakeLists.darwin.txt
@@ -9,7 +9,7 @@
add_library(contrib-libs-libc_compat)
target_compile_options(contrib-libs-libc_compat PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(contrib-libs-libc_compat PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/libc_compat/reallocarray
diff --git a/contrib/libs/libc_compat/CMakeLists.linux-aarch64.txt b/contrib/libs/libc_compat/CMakeLists.linux-aarch64.txt
index 1817331c06..66727f3e3e 100644
--- a/contrib/libs/libc_compat/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/libc_compat/CMakeLists.linux-aarch64.txt
@@ -9,7 +9,7 @@
add_library(contrib-libs-libc_compat)
target_compile_options(contrib-libs-libc_compat PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(contrib-libs-libc_compat PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/libc_compat/include/readpassphrase
diff --git a/contrib/libs/libc_compat/CMakeLists.linux.txt b/contrib/libs/libc_compat/CMakeLists.linux.txt
index 1817331c06..66727f3e3e 100644
--- a/contrib/libs/libc_compat/CMakeLists.linux.txt
+++ b/contrib/libs/libc_compat/CMakeLists.linux.txt
@@ -9,7 +9,7 @@
add_library(contrib-libs-libc_compat)
target_compile_options(contrib-libs-libc_compat PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(contrib-libs-libc_compat PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/libc_compat/include/readpassphrase