aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/liburing
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/liburing
parent8febb7430db23f80ae26a24cbfdc17e40ae3d1db (diff)
downloadydb-a9e5890a07cad8cfc475223eb12855a31ec8318a.tar.gz
NO_COMPILER_WARNINGS in cmake msvc builds
Diffstat (limited to 'contrib/libs/liburing')
-rw-r--r--contrib/libs/liburing/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/liburing/CMakeLists.linux.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/contrib/libs/liburing/CMakeLists.linux-aarch64.txt b/contrib/libs/liburing/CMakeLists.linux-aarch64.txt
index 936fe87551..63d62ff3ed 100644
--- a/contrib/libs/liburing/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/liburing/CMakeLists.linux-aarch64.txt
@@ -10,7 +10,7 @@
add_library(contrib-libs-liburing)
target_compile_options(contrib-libs-liburing PRIVATE
-DLIBURING_INTERNAL
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(contrib-libs-liburing PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/liburing/src/include
diff --git a/contrib/libs/liburing/CMakeLists.linux.txt b/contrib/libs/liburing/CMakeLists.linux.txt
index 936fe87551..63d62ff3ed 100644
--- a/contrib/libs/liburing/CMakeLists.linux.txt
+++ b/contrib/libs/liburing/CMakeLists.linux.txt
@@ -10,7 +10,7 @@
add_library(contrib-libs-liburing)
target_compile_options(contrib-libs-liburing PRIVATE
-DLIBURING_INTERNAL
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(contrib-libs-liburing PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/liburing/src/include