aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/lfalloc
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 /library/cpp/lfalloc
parent8febb7430db23f80ae26a24cbfdc17e40ae3d1db (diff)
downloadydb-a9e5890a07cad8cfc475223eb12855a31ec8318a.tar.gz
NO_COMPILER_WARNINGS in cmake msvc builds
Diffstat (limited to 'library/cpp/lfalloc')
-rw-r--r--library/cpp/lfalloc/CMakeLists.darwin.txt2
-rw-r--r--library/cpp/lfalloc/CMakeLists.linux.txt2
-rw-r--r--library/cpp/lfalloc/yt/CMakeLists.darwin.txt2
3 files changed, 3 insertions, 3 deletions
diff --git a/library/cpp/lfalloc/CMakeLists.darwin.txt b/library/cpp/lfalloc/CMakeLists.darwin.txt
index 0ed088d373..c5ee648844 100644
--- a/library/cpp/lfalloc/CMakeLists.darwin.txt
+++ b/library/cpp/lfalloc/CMakeLists.darwin.txt
@@ -12,7 +12,7 @@ add_subdirectory(yt)
add_library(library-cpp-lfalloc)
target_compile_options(library-cpp-lfalloc PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_link_libraries(library-cpp-lfalloc PUBLIC
contrib-libs-cxxsupp
diff --git a/library/cpp/lfalloc/CMakeLists.linux.txt b/library/cpp/lfalloc/CMakeLists.linux.txt
index 8d6d385cae..de6f97ec6a 100644
--- a/library/cpp/lfalloc/CMakeLists.linux.txt
+++ b/library/cpp/lfalloc/CMakeLists.linux.txt
@@ -11,7 +11,7 @@ add_subdirectory(dbg_info)
add_library(library-cpp-lfalloc)
target_compile_options(library-cpp-lfalloc PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_link_libraries(library-cpp-lfalloc PUBLIC
contrib-libs-linux-headers
diff --git a/library/cpp/lfalloc/yt/CMakeLists.darwin.txt b/library/cpp/lfalloc/yt/CMakeLists.darwin.txt
index 751d2c05df..ab5c2e2e91 100644
--- a/library/cpp/lfalloc/yt/CMakeLists.darwin.txt
+++ b/library/cpp/lfalloc/yt/CMakeLists.darwin.txt
@@ -10,7 +10,7 @@
add_library(cpp-lfalloc-yt)
target_compile_options(cpp-lfalloc-yt PRIVATE
-DLFALLOC_YT
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_link_libraries(cpp-lfalloc-yt PUBLIC
contrib-libs-cxxsupp