aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/cxxsupp/libcxxabi-parts
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/cxxsupp/libcxxabi-parts
parent8febb7430db23f80ae26a24cbfdc17e40ae3d1db (diff)
downloadydb-a9e5890a07cad8cfc475223eb12855a31ec8318a.tar.gz
NO_COMPILER_WARNINGS in cmake msvc builds
Diffstat (limited to 'contrib/libs/cxxsupp/libcxxabi-parts')
-rw-r--r--contrib/libs/cxxsupp/libcxxabi-parts/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/cxxsupp/libcxxabi-parts/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/cxxsupp/libcxxabi-parts/CMakeLists.linux.txt2
3 files changed, 3 insertions, 3 deletions
diff --git a/contrib/libs/cxxsupp/libcxxabi-parts/CMakeLists.darwin.txt b/contrib/libs/cxxsupp/libcxxabi-parts/CMakeLists.darwin.txt
index b44c0039fe..22f534fcdd 100644
--- a/contrib/libs/cxxsupp/libcxxabi-parts/CMakeLists.darwin.txt
+++ b/contrib/libs/cxxsupp/libcxxabi-parts/CMakeLists.darwin.txt
@@ -13,7 +13,7 @@ target_compile_options(libs-cxxsupp-libcxxabi-parts PUBLIC
)
target_compile_options(libs-cxxsupp-libcxxabi-parts PRIVATE
-D_LIBCXXABI_BUILDING_LIBRARY
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(libs-cxxsupp-libcxxabi-parts PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxxabi/include
diff --git a/contrib/libs/cxxsupp/libcxxabi-parts/CMakeLists.linux-aarch64.txt b/contrib/libs/cxxsupp/libcxxabi-parts/CMakeLists.linux-aarch64.txt
index e96e9622ab..dfbe9eea43 100644
--- a/contrib/libs/cxxsupp/libcxxabi-parts/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/cxxsupp/libcxxabi-parts/CMakeLists.linux-aarch64.txt
@@ -13,7 +13,7 @@ target_compile_options(libs-cxxsupp-libcxxabi-parts PUBLIC
)
target_compile_options(libs-cxxsupp-libcxxabi-parts PRIVATE
-D_LIBCXXABI_BUILDING_LIBRARY
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(libs-cxxsupp-libcxxabi-parts PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxxabi/include
diff --git a/contrib/libs/cxxsupp/libcxxabi-parts/CMakeLists.linux.txt b/contrib/libs/cxxsupp/libcxxabi-parts/CMakeLists.linux.txt
index a99ea85123..144c793693 100644
--- a/contrib/libs/cxxsupp/libcxxabi-parts/CMakeLists.linux.txt
+++ b/contrib/libs/cxxsupp/libcxxabi-parts/CMakeLists.linux.txt
@@ -13,7 +13,7 @@ target_compile_options(libs-cxxsupp-libcxxabi-parts PUBLIC
)
target_compile_options(libs-cxxsupp-libcxxabi-parts PRIVATE
-D_LIBCXXABI_BUILDING_LIBRARY
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(libs-cxxsupp-libcxxabi-parts PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/libcxxabi/include