From a9e5890a07cad8cfc475223eb12855a31ec8318a Mon Sep 17 00:00:00 2001
From: svidyuk <svidyuk@yandex-team.com>
Date: Sat, 18 Feb 2023 07:43:57 +0300
Subject: NO_COMPILER_WARNINGS in cmake msvc builds

---
 library/cpp/lfalloc/CMakeLists.darwin.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'library/cpp/lfalloc/CMakeLists.darwin.txt')

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
-- 
cgit v1.2.3