aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/restricted/boost/thread
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/thread
parent8febb7430db23f80ae26a24cbfdc17e40ae3d1db (diff)
downloadydb-a9e5890a07cad8cfc475223eb12855a31ec8318a.tar.gz
NO_COMPILER_WARNINGS in cmake msvc builds
Diffstat (limited to 'contrib/restricted/boost/thread')
-rw-r--r--contrib/restricted/boost/thread/CMakeLists.darwin.txt2
-rw-r--r--contrib/restricted/boost/thread/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/restricted/boost/thread/CMakeLists.linux.txt2
3 files changed, 3 insertions, 3 deletions
diff --git a/contrib/restricted/boost/thread/CMakeLists.darwin.txt b/contrib/restricted/boost/thread/CMakeLists.darwin.txt
index 064c029f62..683da25426 100644
--- a/contrib/restricted/boost/thread/CMakeLists.darwin.txt
+++ b/contrib/restricted/boost/thread/CMakeLists.darwin.txt
@@ -15,7 +15,7 @@ target_compile_options(restricted-boost-thread PUBLIC
target_compile_options(restricted-boost-thread PRIVATE
-DBOOST_THREAD_BUILD_LIB
-DBOOST_THREAD_DONT_USE_CHRONO
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(restricted-boost-thread PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/boost/thread/include
diff --git a/contrib/restricted/boost/thread/CMakeLists.linux-aarch64.txt b/contrib/restricted/boost/thread/CMakeLists.linux-aarch64.txt
index ff651659fb..ee0e2e1fcc 100644
--- a/contrib/restricted/boost/thread/CMakeLists.linux-aarch64.txt
+++ b/contrib/restricted/boost/thread/CMakeLists.linux-aarch64.txt
@@ -15,7 +15,7 @@ target_compile_options(restricted-boost-thread PUBLIC
target_compile_options(restricted-boost-thread PRIVATE
-DBOOST_THREAD_BUILD_LIB
-DBOOST_THREAD_DONT_USE_CHRONO
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(restricted-boost-thread PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/boost/thread/include
diff --git a/contrib/restricted/boost/thread/CMakeLists.linux.txt b/contrib/restricted/boost/thread/CMakeLists.linux.txt
index ff651659fb..ee0e2e1fcc 100644
--- a/contrib/restricted/boost/thread/CMakeLists.linux.txt
+++ b/contrib/restricted/boost/thread/CMakeLists.linux.txt
@@ -15,7 +15,7 @@ target_compile_options(restricted-boost-thread PUBLIC
target_compile_options(restricted-boost-thread PRIVATE
-DBOOST_THREAD_BUILD_LIB
-DBOOST_THREAD_DONT_USE_CHRONO
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(restricted-boost-thread PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/boost/thread/include