aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/brotli
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/brotli
parent8febb7430db23f80ae26a24cbfdc17e40ae3d1db (diff)
downloadydb-a9e5890a07cad8cfc475223eb12855a31ec8318a.tar.gz
NO_COMPILER_WARNINGS in cmake msvc builds
Diffstat (limited to 'contrib/libs/brotli')
-rw-r--r--contrib/libs/brotli/common/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/brotli/common/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/brotli/common/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/brotli/dec/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/brotli/dec/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/brotli/dec/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/brotli/enc/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/brotli/enc/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/brotli/enc/CMakeLists.linux.txt2
9 files changed, 9 insertions, 9 deletions
diff --git a/contrib/libs/brotli/common/CMakeLists.darwin.txt b/contrib/libs/brotli/common/CMakeLists.darwin.txt
index 493d1aa481..0acd28e7cd 100644
--- a/contrib/libs/brotli/common/CMakeLists.darwin.txt
+++ b/contrib/libs/brotli/common/CMakeLists.darwin.txt
@@ -10,7 +10,7 @@
add_library(libs-brotli-common)
target_compile_options(libs-brotli-common PRIVATE
-DBROTLI_BUILD_PORTABLE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(libs-brotli-common PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/brotli/include
diff --git a/contrib/libs/brotli/common/CMakeLists.linux-aarch64.txt b/contrib/libs/brotli/common/CMakeLists.linux-aarch64.txt
index b270055def..f40a7896b9 100644
--- a/contrib/libs/brotli/common/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/brotli/common/CMakeLists.linux-aarch64.txt
@@ -10,7 +10,7 @@
add_library(libs-brotli-common)
target_compile_options(libs-brotli-common PRIVATE
-DBROTLI_BUILD_PORTABLE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(libs-brotli-common PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/brotli/include
diff --git a/contrib/libs/brotli/common/CMakeLists.linux.txt b/contrib/libs/brotli/common/CMakeLists.linux.txt
index b270055def..f40a7896b9 100644
--- a/contrib/libs/brotli/common/CMakeLists.linux.txt
+++ b/contrib/libs/brotli/common/CMakeLists.linux.txt
@@ -10,7 +10,7 @@
add_library(libs-brotli-common)
target_compile_options(libs-brotli-common PRIVATE
-DBROTLI_BUILD_PORTABLE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(libs-brotli-common PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/brotli/include
diff --git a/contrib/libs/brotli/dec/CMakeLists.darwin.txt b/contrib/libs/brotli/dec/CMakeLists.darwin.txt
index 42b8ff8dde..5d11acad56 100644
--- a/contrib/libs/brotli/dec/CMakeLists.darwin.txt
+++ b/contrib/libs/brotli/dec/CMakeLists.darwin.txt
@@ -9,7 +9,7 @@
add_library(libs-brotli-dec)
target_compile_options(libs-brotli-dec PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(libs-brotli-dec PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/brotli/include
diff --git a/contrib/libs/brotli/dec/CMakeLists.linux-aarch64.txt b/contrib/libs/brotli/dec/CMakeLists.linux-aarch64.txt
index 7d63a5712a..6283846aef 100644
--- a/contrib/libs/brotli/dec/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/brotli/dec/CMakeLists.linux-aarch64.txt
@@ -9,7 +9,7 @@
add_library(libs-brotli-dec)
target_compile_options(libs-brotli-dec PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(libs-brotli-dec PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/brotli/include
diff --git a/contrib/libs/brotli/dec/CMakeLists.linux.txt b/contrib/libs/brotli/dec/CMakeLists.linux.txt
index 7d63a5712a..6283846aef 100644
--- a/contrib/libs/brotli/dec/CMakeLists.linux.txt
+++ b/contrib/libs/brotli/dec/CMakeLists.linux.txt
@@ -9,7 +9,7 @@
add_library(libs-brotli-dec)
target_compile_options(libs-brotli-dec PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(libs-brotli-dec PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/brotli/include
diff --git a/contrib/libs/brotli/enc/CMakeLists.darwin.txt b/contrib/libs/brotli/enc/CMakeLists.darwin.txt
index a813b34bd6..297dae7533 100644
--- a/contrib/libs/brotli/enc/CMakeLists.darwin.txt
+++ b/contrib/libs/brotli/enc/CMakeLists.darwin.txt
@@ -10,7 +10,7 @@
add_library(libs-brotli-enc)
target_compile_options(libs-brotli-enc PRIVATE
-DBROTLI_BUILD_PORTABLE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(libs-brotli-enc PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/brotli/include
diff --git a/contrib/libs/brotli/enc/CMakeLists.linux-aarch64.txt b/contrib/libs/brotli/enc/CMakeLists.linux-aarch64.txt
index 2252f70be1..1fd39e4120 100644
--- a/contrib/libs/brotli/enc/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/brotli/enc/CMakeLists.linux-aarch64.txt
@@ -10,7 +10,7 @@
add_library(libs-brotli-enc)
target_compile_options(libs-brotli-enc PRIVATE
-DBROTLI_BUILD_PORTABLE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(libs-brotli-enc PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/brotli/include
diff --git a/contrib/libs/brotli/enc/CMakeLists.linux.txt b/contrib/libs/brotli/enc/CMakeLists.linux.txt
index 2252f70be1..1fd39e4120 100644
--- a/contrib/libs/brotli/enc/CMakeLists.linux.txt
+++ b/contrib/libs/brotli/enc/CMakeLists.linux.txt
@@ -10,7 +10,7 @@
add_library(libs-brotli-enc)
target_compile_options(libs-brotli-enc PRIVATE
-DBROTLI_BUILD_PORTABLE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(libs-brotli-enc PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/brotli/include