aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/fastlz
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/fastlz
parent8febb7430db23f80ae26a24cbfdc17e40ae3d1db (diff)
downloadydb-a9e5890a07cad8cfc475223eb12855a31ec8318a.tar.gz
NO_COMPILER_WARNINGS in cmake msvc builds
Diffstat (limited to 'contrib/libs/fastlz')
-rw-r--r--contrib/libs/fastlz/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/fastlz/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/fastlz/CMakeLists.linux.txt2
3 files changed, 3 insertions, 3 deletions
diff --git a/contrib/libs/fastlz/CMakeLists.darwin.txt b/contrib/libs/fastlz/CMakeLists.darwin.txt
index e43bd11e58..eab41c060a 100644
--- a/contrib/libs/fastlz/CMakeLists.darwin.txt
+++ b/contrib/libs/fastlz/CMakeLists.darwin.txt
@@ -9,7 +9,7 @@
add_library(contrib-libs-fastlz)
target_compile_options(contrib-libs-fastlz PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_link_libraries(contrib-libs-fastlz PUBLIC
contrib-libs-cxxsupp
diff --git a/contrib/libs/fastlz/CMakeLists.linux-aarch64.txt b/contrib/libs/fastlz/CMakeLists.linux-aarch64.txt
index bc41572e30..e6a67c5372 100644
--- a/contrib/libs/fastlz/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/fastlz/CMakeLists.linux-aarch64.txt
@@ -9,7 +9,7 @@
add_library(contrib-libs-fastlz)
target_compile_options(contrib-libs-fastlz PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_link_libraries(contrib-libs-fastlz PUBLIC
contrib-libs-linux-headers
diff --git a/contrib/libs/fastlz/CMakeLists.linux.txt b/contrib/libs/fastlz/CMakeLists.linux.txt
index bc41572e30..e6a67c5372 100644
--- a/contrib/libs/fastlz/CMakeLists.linux.txt
+++ b/contrib/libs/fastlz/CMakeLists.linux.txt
@@ -9,7 +9,7 @@
add_library(contrib-libs-fastlz)
target_compile_options(contrib-libs-fastlz PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_link_libraries(contrib-libs-fastlz PUBLIC
contrib-libs-linux-headers