aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrobot-piglet <robot-piglet@yandex-team.com>2023-08-11 19:39:16 +0300
committerrobot-piglet <robot-piglet@yandex-team.com>2023-08-11 20:06:13 +0300
commit398f81fee4f094cbd3075ea8592f8932c1be5a73 (patch)
tree6cc9370dfea1736f874646dafa21727b9eff43c5
parent32639e8ffe0ea0648cdb069ed93f642f0f4f0925 (diff)
downloadydb-398f81fee4f094cbd3075ea8592f8932c1be5a73.tar.gz
Intermediate changes
-rw-r--r--library/cpp/blockcodecs/codecs/lzma/CMakeLists.windows-x86_64.txt3
-rw-r--r--library/cpp/blockcodecs/codecs/lzma/ya.make8
2 files changed, 5 insertions, 6 deletions
diff --git a/library/cpp/blockcodecs/codecs/lzma/CMakeLists.windows-x86_64.txt b/library/cpp/blockcodecs/codecs/lzma/CMakeLists.windows-x86_64.txt
index 00aa4c78af..acaf2f9e8d 100644
--- a/library/cpp/blockcodecs/codecs/lzma/CMakeLists.windows-x86_64.txt
+++ b/library/cpp/blockcodecs/codecs/lzma/CMakeLists.windows-x86_64.txt
@@ -16,9 +16,6 @@ target_link_libraries(blockcodecs-codecs-lzma INTERFACE
)
add_global_library_for(blockcodecs-codecs-lzma.global blockcodecs-codecs-lzma)
-target_compile_options(blockcodecs-codecs-lzma.global PRIVATE
- -Wno-unused-command-line-argument
-)
target_link_libraries(blockcodecs-codecs-lzma.global PUBLIC
contrib-libs-cxxsupp
yutil
diff --git a/library/cpp/blockcodecs/codecs/lzma/ya.make b/library/cpp/blockcodecs/codecs/lzma/ya.make
index caad076c94..16605e3dd6 100644
--- a/library/cpp/blockcodecs/codecs/lzma/ya.make
+++ b/library/cpp/blockcodecs/codecs/lzma/ya.make
@@ -14,9 +14,11 @@ SRCS(
)
IF (OS_WINDOWS)
- CFLAGS(
- -Wno-unused-command-line-argument
- )
+ IF (NOT MSVC)
+ CFLAGS(
+ -Wno-unused-command-line-argument
+ )
+ ENDIF()
ENDIF()
END()