aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/restricted/boost/regex
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/restricted/boost/regex
parent8febb7430db23f80ae26a24cbfdc17e40ae3d1db (diff)
downloadydb-a9e5890a07cad8cfc475223eb12855a31ec8318a.tar.gz
NO_COMPILER_WARNINGS in cmake msvc builds
Diffstat (limited to 'contrib/restricted/boost/regex')
-rw-r--r--contrib/restricted/boost/regex/CMakeLists.darwin.txt2
-rw-r--r--contrib/restricted/boost/regex/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/restricted/boost/regex/CMakeLists.linux.txt2
3 files changed, 3 insertions, 3 deletions
diff --git a/contrib/restricted/boost/regex/CMakeLists.darwin.txt b/contrib/restricted/boost/regex/CMakeLists.darwin.txt
index 7249a02715..b0c67b4c88 100644
--- a/contrib/restricted/boost/regex/CMakeLists.darwin.txt
+++ b/contrib/restricted/boost/regex/CMakeLists.darwin.txt
@@ -11,7 +11,7 @@ add_library(restricted-boost-regex)
target_compile_options(restricted-boost-regex PRIVATE
-DBOOST_HAS_ICU
-DBOOST_NO_CXX98_BINDERS
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(restricted-boost-regex PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/boost/regex/include
diff --git a/contrib/restricted/boost/regex/CMakeLists.linux-aarch64.txt b/contrib/restricted/boost/regex/CMakeLists.linux-aarch64.txt
index dae13bda83..554805be78 100644
--- a/contrib/restricted/boost/regex/CMakeLists.linux-aarch64.txt
+++ b/contrib/restricted/boost/regex/CMakeLists.linux-aarch64.txt
@@ -11,7 +11,7 @@ add_library(restricted-boost-regex)
target_compile_options(restricted-boost-regex PRIVATE
-DBOOST_HAS_ICU
-DBOOST_NO_CXX98_BINDERS
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(restricted-boost-regex PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/boost/regex/include
diff --git a/contrib/restricted/boost/regex/CMakeLists.linux.txt b/contrib/restricted/boost/regex/CMakeLists.linux.txt
index dae13bda83..554805be78 100644
--- a/contrib/restricted/boost/regex/CMakeLists.linux.txt
+++ b/contrib/restricted/boost/regex/CMakeLists.linux.txt
@@ -11,7 +11,7 @@ add_library(restricted-boost-regex)
target_compile_options(restricted-boost-regex PRIVATE
-DBOOST_HAS_ICU
-DBOOST_NO_CXX98_BINDERS
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(restricted-boost-regex PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/boost/regex/include