summaryrefslogtreecommitdiffstats
path: root/contrib/restricted/boost
diff options
context:
space:
mode:
authorsvidyuk <[email protected]>2023-02-18 07:43:57 +0300
committersvidyuk <[email protected]>2023-02-18 07:43:57 +0300
commita9e5890a07cad8cfc475223eb12855a31ec8318a (patch)
tree104d1c6ba83fb89e4373d7582c7a465c9fbbad16 /contrib/restricted/boost
parent8febb7430db23f80ae26a24cbfdc17e40ae3d1db (diff)
NO_COMPILER_WARNINGS in cmake msvc builds
Diffstat (limited to 'contrib/restricted/boost')
-rw-r--r--contrib/restricted/boost/atomic/CMakeLists.darwin.txt2
-rw-r--r--contrib/restricted/boost/atomic/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/restricted/boost/atomic/CMakeLists.linux.txt2
-rw-r--r--contrib/restricted/boost/chrono/CMakeLists.darwin.txt2
-rw-r--r--contrib/restricted/boost/chrono/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/restricted/boost/chrono/CMakeLists.linux.txt2
-rw-r--r--contrib/restricted/boost/container/CMakeLists.darwin.txt2
-rw-r--r--contrib/restricted/boost/container/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/restricted/boost/container/CMakeLists.linux.txt2
-rw-r--r--contrib/restricted/boost/context/fcontext_impl/CMakeLists.darwin.txt2
-rw-r--r--contrib/restricted/boost/context/fcontext_impl/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/restricted/boost/context/fcontext_impl/CMakeLists.linux.txt2
-rw-r--r--contrib/restricted/boost/context/impl_common/CMakeLists.darwin.txt2
-rw-r--r--contrib/restricted/boost/context/impl_common/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/restricted/boost/context/impl_common/CMakeLists.linux.txt2
-rw-r--r--contrib/restricted/boost/coroutine/CMakeLists.darwin.txt2
-rw-r--r--contrib/restricted/boost/coroutine/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/restricted/boost/coroutine/CMakeLists.linux.txt2
-rw-r--r--contrib/restricted/boost/exception/CMakeLists.darwin.txt2
-rw-r--r--contrib/restricted/boost/exception/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/restricted/boost/exception/CMakeLists.linux.txt2
-rw-r--r--contrib/restricted/boost/graph/CMakeLists.darwin.txt2
-rw-r--r--contrib/restricted/boost/graph/CMakeLists.linux.txt2
-rw-r--r--contrib/restricted/boost/iostreams/CMakeLists.darwin.txt2
-rw-r--r--contrib/restricted/boost/iostreams/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/restricted/boost/iostreams/CMakeLists.linux.txt2
-rw-r--r--contrib/restricted/boost/locale/CMakeLists.darwin.txt2
-rw-r--r--contrib/restricted/boost/locale/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/restricted/boost/locale/CMakeLists.linux.txt2
-rw-r--r--contrib/restricted/boost/program_options/CMakeLists.darwin.txt2
-rw-r--r--contrib/restricted/boost/program_options/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/restricted/boost/program_options/CMakeLists.linux.txt2
-rw-r--r--contrib/restricted/boost/random/CMakeLists.darwin.txt2
-rw-r--r--contrib/restricted/boost/random/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/restricted/boost/random/CMakeLists.linux.txt2
-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
-rw-r--r--contrib/restricted/boost/serialization/CMakeLists.darwin.txt2
-rw-r--r--contrib/restricted/boost/serialization/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/restricted/boost/serialization/CMakeLists.linux.txt2
-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
44 files changed, 44 insertions, 44 deletions
diff --git a/contrib/restricted/boost/atomic/CMakeLists.darwin.txt b/contrib/restricted/boost/atomic/CMakeLists.darwin.txt
index bb44e557783..c7c24c5a0f0 100644
--- a/contrib/restricted/boost/atomic/CMakeLists.darwin.txt
+++ b/contrib/restricted/boost/atomic/CMakeLists.darwin.txt
@@ -11,7 +11,7 @@ add_library(restricted-boost-atomic)
target_compile_options(restricted-boost-atomic PRIVATE
-DBOOST_ATOMIC_SOURCE
-DBOOST_ATOMIC_USE_SSE41
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(restricted-boost-atomic PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/boost/atomic/include
diff --git a/contrib/restricted/boost/atomic/CMakeLists.linux-aarch64.txt b/contrib/restricted/boost/atomic/CMakeLists.linux-aarch64.txt
index 6da198ceb77..8f1b461ecf5 100644
--- a/contrib/restricted/boost/atomic/CMakeLists.linux-aarch64.txt
+++ b/contrib/restricted/boost/atomic/CMakeLists.linux-aarch64.txt
@@ -10,7 +10,7 @@
add_library(restricted-boost-atomic)
target_compile_options(restricted-boost-atomic PRIVATE
-DBOOST_ATOMIC_SOURCE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(restricted-boost-atomic PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/boost/atomic/include
diff --git a/contrib/restricted/boost/atomic/CMakeLists.linux.txt b/contrib/restricted/boost/atomic/CMakeLists.linux.txt
index 2ee70cf9c2c..5f830a8cfa8 100644
--- a/contrib/restricted/boost/atomic/CMakeLists.linux.txt
+++ b/contrib/restricted/boost/atomic/CMakeLists.linux.txt
@@ -11,7 +11,7 @@ add_library(restricted-boost-atomic)
target_compile_options(restricted-boost-atomic PRIVATE
-DBOOST_ATOMIC_SOURCE
-DBOOST_ATOMIC_USE_SSE41
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(restricted-boost-atomic PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/boost/atomic/include
diff --git a/contrib/restricted/boost/chrono/CMakeLists.darwin.txt b/contrib/restricted/boost/chrono/CMakeLists.darwin.txt
index 818650fded5..af74091cab5 100644
--- a/contrib/restricted/boost/chrono/CMakeLists.darwin.txt
+++ b/contrib/restricted/boost/chrono/CMakeLists.darwin.txt
@@ -9,7 +9,7 @@
add_library(restricted-boost-chrono)
target_compile_options(restricted-boost-chrono PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(restricted-boost-chrono PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/boost/chrono/include
diff --git a/contrib/restricted/boost/chrono/CMakeLists.linux-aarch64.txt b/contrib/restricted/boost/chrono/CMakeLists.linux-aarch64.txt
index 0bc63fbd7f1..849cd7c2154 100644
--- a/contrib/restricted/boost/chrono/CMakeLists.linux-aarch64.txt
+++ b/contrib/restricted/boost/chrono/CMakeLists.linux-aarch64.txt
@@ -9,7 +9,7 @@
add_library(restricted-boost-chrono)
target_compile_options(restricted-boost-chrono PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(restricted-boost-chrono PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/boost/chrono/include
diff --git a/contrib/restricted/boost/chrono/CMakeLists.linux.txt b/contrib/restricted/boost/chrono/CMakeLists.linux.txt
index 0bc63fbd7f1..849cd7c2154 100644
--- a/contrib/restricted/boost/chrono/CMakeLists.linux.txt
+++ b/contrib/restricted/boost/chrono/CMakeLists.linux.txt
@@ -9,7 +9,7 @@
add_library(restricted-boost-chrono)
target_compile_options(restricted-boost-chrono PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(restricted-boost-chrono PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/boost/chrono/include
diff --git a/contrib/restricted/boost/container/CMakeLists.darwin.txt b/contrib/restricted/boost/container/CMakeLists.darwin.txt
index a1efaa8df81..74ef11ce7c5 100644
--- a/contrib/restricted/boost/container/CMakeLists.darwin.txt
+++ b/contrib/restricted/boost/container/CMakeLists.darwin.txt
@@ -9,7 +9,7 @@
add_library(restricted-boost-container)
target_compile_options(restricted-boost-container PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(restricted-boost-container PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/boost/container/include
diff --git a/contrib/restricted/boost/container/CMakeLists.linux-aarch64.txt b/contrib/restricted/boost/container/CMakeLists.linux-aarch64.txt
index 59467d219d9..8478a2b4757 100644
--- a/contrib/restricted/boost/container/CMakeLists.linux-aarch64.txt
+++ b/contrib/restricted/boost/container/CMakeLists.linux-aarch64.txt
@@ -9,7 +9,7 @@
add_library(restricted-boost-container)
target_compile_options(restricted-boost-container PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(restricted-boost-container PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/boost/container/include
diff --git a/contrib/restricted/boost/container/CMakeLists.linux.txt b/contrib/restricted/boost/container/CMakeLists.linux.txt
index 59467d219d9..8478a2b4757 100644
--- a/contrib/restricted/boost/container/CMakeLists.linux.txt
+++ b/contrib/restricted/boost/container/CMakeLists.linux.txt
@@ -9,7 +9,7 @@
add_library(restricted-boost-container)
target_compile_options(restricted-boost-container PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(restricted-boost-container PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/boost/container/include
diff --git a/contrib/restricted/boost/context/fcontext_impl/CMakeLists.darwin.txt b/contrib/restricted/boost/context/fcontext_impl/CMakeLists.darwin.txt
index 2d0e3318d05..d5301afd155 100644
--- a/contrib/restricted/boost/context/fcontext_impl/CMakeLists.darwin.txt
+++ b/contrib/restricted/boost/context/fcontext_impl/CMakeLists.darwin.txt
@@ -9,7 +9,7 @@
add_library(boost-context-fcontext_impl)
target_compile_options(boost-context-fcontext_impl PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_link_libraries(boost-context-fcontext_impl PUBLIC
contrib-libs-cxxsupp
diff --git a/contrib/restricted/boost/context/fcontext_impl/CMakeLists.linux-aarch64.txt b/contrib/restricted/boost/context/fcontext_impl/CMakeLists.linux-aarch64.txt
index c8156f04c37..49a0c3338d8 100644
--- a/contrib/restricted/boost/context/fcontext_impl/CMakeLists.linux-aarch64.txt
+++ b/contrib/restricted/boost/context/fcontext_impl/CMakeLists.linux-aarch64.txt
@@ -9,7 +9,7 @@
add_library(boost-context-fcontext_impl)
target_compile_options(boost-context-fcontext_impl PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_link_libraries(boost-context-fcontext_impl PUBLIC
contrib-libs-linux-headers
diff --git a/contrib/restricted/boost/context/fcontext_impl/CMakeLists.linux.txt b/contrib/restricted/boost/context/fcontext_impl/CMakeLists.linux.txt
index c59cfb1515c..21ce313ed96 100644
--- a/contrib/restricted/boost/context/fcontext_impl/CMakeLists.linux.txt
+++ b/contrib/restricted/boost/context/fcontext_impl/CMakeLists.linux.txt
@@ -9,7 +9,7 @@
add_library(boost-context-fcontext_impl)
target_compile_options(boost-context-fcontext_impl PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_link_libraries(boost-context-fcontext_impl PUBLIC
contrib-libs-linux-headers
diff --git a/contrib/restricted/boost/context/impl_common/CMakeLists.darwin.txt b/contrib/restricted/boost/context/impl_common/CMakeLists.darwin.txt
index 6c08263a3b8..100cd01a5d6 100644
--- a/contrib/restricted/boost/context/impl_common/CMakeLists.darwin.txt
+++ b/contrib/restricted/boost/context/impl_common/CMakeLists.darwin.txt
@@ -10,7 +10,7 @@
add_library(boost-context-impl_common)
target_compile_options(boost-context-impl_common PRIVATE
-DBOOST_CONTEXT_SOURCE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(boost-context-impl_common PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/boost/context/include
diff --git a/contrib/restricted/boost/context/impl_common/CMakeLists.linux-aarch64.txt b/contrib/restricted/boost/context/impl_common/CMakeLists.linux-aarch64.txt
index 52670b69332..06f9049883d 100644
--- a/contrib/restricted/boost/context/impl_common/CMakeLists.linux-aarch64.txt
+++ b/contrib/restricted/boost/context/impl_common/CMakeLists.linux-aarch64.txt
@@ -10,7 +10,7 @@
add_library(boost-context-impl_common)
target_compile_options(boost-context-impl_common PRIVATE
-DBOOST_CONTEXT_SOURCE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(boost-context-impl_common PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/boost/context/include
diff --git a/contrib/restricted/boost/context/impl_common/CMakeLists.linux.txt b/contrib/restricted/boost/context/impl_common/CMakeLists.linux.txt
index 52670b69332..06f9049883d 100644
--- a/contrib/restricted/boost/context/impl_common/CMakeLists.linux.txt
+++ b/contrib/restricted/boost/context/impl_common/CMakeLists.linux.txt
@@ -10,7 +10,7 @@
add_library(boost-context-impl_common)
target_compile_options(boost-context-impl_common PRIVATE
-DBOOST_CONTEXT_SOURCE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(boost-context-impl_common PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/boost/context/include
diff --git a/contrib/restricted/boost/coroutine/CMakeLists.darwin.txt b/contrib/restricted/boost/coroutine/CMakeLists.darwin.txt
index f002bcd9018..078b319b347 100644
--- a/contrib/restricted/boost/coroutine/CMakeLists.darwin.txt
+++ b/contrib/restricted/boost/coroutine/CMakeLists.darwin.txt
@@ -13,7 +13,7 @@ target_compile_options(restricted-boost-coroutine PUBLIC
)
target_compile_options(restricted-boost-coroutine PRIVATE
-DBOOST_COROUTINES_SOURCE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(restricted-boost-coroutine PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/boost/coroutine/include
diff --git a/contrib/restricted/boost/coroutine/CMakeLists.linux-aarch64.txt b/contrib/restricted/boost/coroutine/CMakeLists.linux-aarch64.txt
index 4a6ba8c5466..d91726a632b 100644
--- a/contrib/restricted/boost/coroutine/CMakeLists.linux-aarch64.txt
+++ b/contrib/restricted/boost/coroutine/CMakeLists.linux-aarch64.txt
@@ -13,7 +13,7 @@ target_compile_options(restricted-boost-coroutine PUBLIC
)
target_compile_options(restricted-boost-coroutine PRIVATE
-DBOOST_COROUTINES_SOURCE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(restricted-boost-coroutine PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/boost/coroutine/include
diff --git a/contrib/restricted/boost/coroutine/CMakeLists.linux.txt b/contrib/restricted/boost/coroutine/CMakeLists.linux.txt
index 4a6ba8c5466..d91726a632b 100644
--- a/contrib/restricted/boost/coroutine/CMakeLists.linux.txt
+++ b/contrib/restricted/boost/coroutine/CMakeLists.linux.txt
@@ -13,7 +13,7 @@ target_compile_options(restricted-boost-coroutine PUBLIC
)
target_compile_options(restricted-boost-coroutine PRIVATE
-DBOOST_COROUTINES_SOURCE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(restricted-boost-coroutine PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/boost/coroutine/include
diff --git a/contrib/restricted/boost/exception/CMakeLists.darwin.txt b/contrib/restricted/boost/exception/CMakeLists.darwin.txt
index ce717e642c3..bd4347f03d4 100644
--- a/contrib/restricted/boost/exception/CMakeLists.darwin.txt
+++ b/contrib/restricted/boost/exception/CMakeLists.darwin.txt
@@ -9,7 +9,7 @@
add_library(restricted-boost-exception)
target_compile_options(restricted-boost-exception PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(restricted-boost-exception PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/boost/exception/include
diff --git a/contrib/restricted/boost/exception/CMakeLists.linux-aarch64.txt b/contrib/restricted/boost/exception/CMakeLists.linux-aarch64.txt
index bf09d9952d3..b818e6d085c 100644
--- a/contrib/restricted/boost/exception/CMakeLists.linux-aarch64.txt
+++ b/contrib/restricted/boost/exception/CMakeLists.linux-aarch64.txt
@@ -9,7 +9,7 @@
add_library(restricted-boost-exception)
target_compile_options(restricted-boost-exception PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(restricted-boost-exception PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/boost/exception/include
diff --git a/contrib/restricted/boost/exception/CMakeLists.linux.txt b/contrib/restricted/boost/exception/CMakeLists.linux.txt
index bf09d9952d3..b818e6d085c 100644
--- a/contrib/restricted/boost/exception/CMakeLists.linux.txt
+++ b/contrib/restricted/boost/exception/CMakeLists.linux.txt
@@ -9,7 +9,7 @@
add_library(restricted-boost-exception)
target_compile_options(restricted-boost-exception PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(restricted-boost-exception PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/boost/exception/include
diff --git a/contrib/restricted/boost/graph/CMakeLists.darwin.txt b/contrib/restricted/boost/graph/CMakeLists.darwin.txt
index ef6546905c3..9118ce39b67 100644
--- a/contrib/restricted/boost/graph/CMakeLists.darwin.txt
+++ b/contrib/restricted/boost/graph/CMakeLists.darwin.txt
@@ -9,7 +9,7 @@
add_library(restricted-boost-graph)
target_compile_options(restricted-boost-graph PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(restricted-boost-graph PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/boost/graph/include
diff --git a/contrib/restricted/boost/graph/CMakeLists.linux.txt b/contrib/restricted/boost/graph/CMakeLists.linux.txt
index 59c02cb2098..fd2c3cf33bc 100644
--- a/contrib/restricted/boost/graph/CMakeLists.linux.txt
+++ b/contrib/restricted/boost/graph/CMakeLists.linux.txt
@@ -9,7 +9,7 @@
add_library(restricted-boost-graph)
target_compile_options(restricted-boost-graph PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(restricted-boost-graph PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/boost/graph/include
diff --git a/contrib/restricted/boost/iostreams/CMakeLists.darwin.txt b/contrib/restricted/boost/iostreams/CMakeLists.darwin.txt
index 5f3900f0fc8..ecd5b2a38d1 100644
--- a/contrib/restricted/boost/iostreams/CMakeLists.darwin.txt
+++ b/contrib/restricted/boost/iostreams/CMakeLists.darwin.txt
@@ -11,7 +11,7 @@ find_package(ZLIB REQUIRED)
add_library(restricted-boost-iostreams)
target_compile_options(restricted-boost-iostreams PRIVATE
-DBOOST_IOSTREAMS_USE_DEPRECATED
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(restricted-boost-iostreams PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/boost/iostreams/include
diff --git a/contrib/restricted/boost/iostreams/CMakeLists.linux-aarch64.txt b/contrib/restricted/boost/iostreams/CMakeLists.linux-aarch64.txt
index 7052d16f162..1d1e246daee 100644
--- a/contrib/restricted/boost/iostreams/CMakeLists.linux-aarch64.txt
+++ b/contrib/restricted/boost/iostreams/CMakeLists.linux-aarch64.txt
@@ -11,7 +11,7 @@ find_package(ZLIB REQUIRED)
add_library(restricted-boost-iostreams)
target_compile_options(restricted-boost-iostreams PRIVATE
-DBOOST_IOSTREAMS_USE_DEPRECATED
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(restricted-boost-iostreams PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/boost/iostreams/include
diff --git a/contrib/restricted/boost/iostreams/CMakeLists.linux.txt b/contrib/restricted/boost/iostreams/CMakeLists.linux.txt
index 7052d16f162..1d1e246daee 100644
--- a/contrib/restricted/boost/iostreams/CMakeLists.linux.txt
+++ b/contrib/restricted/boost/iostreams/CMakeLists.linux.txt
@@ -11,7 +11,7 @@ find_package(ZLIB REQUIRED)
add_library(restricted-boost-iostreams)
target_compile_options(restricted-boost-iostreams PRIVATE
-DBOOST_IOSTREAMS_USE_DEPRECATED
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(restricted-boost-iostreams PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/boost/iostreams/include
diff --git a/contrib/restricted/boost/locale/CMakeLists.darwin.txt b/contrib/restricted/boost/locale/CMakeLists.darwin.txt
index 5287fd395e0..8e8b149e509 100644
--- a/contrib/restricted/boost/locale/CMakeLists.darwin.txt
+++ b/contrib/restricted/boost/locale/CMakeLists.darwin.txt
@@ -11,7 +11,7 @@ add_library(restricted-boost-locale)
target_compile_options(restricted-boost-locale PRIVATE
-DBOOST_LOCALE_WITH_ICU
-DBOOST_LOCALE_NO_WINAPI_BACKEND
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(restricted-boost-locale PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/boost/locale/include
diff --git a/contrib/restricted/boost/locale/CMakeLists.linux-aarch64.txt b/contrib/restricted/boost/locale/CMakeLists.linux-aarch64.txt
index 435dc56508e..831330fafc3 100644
--- a/contrib/restricted/boost/locale/CMakeLists.linux-aarch64.txt
+++ b/contrib/restricted/boost/locale/CMakeLists.linux-aarch64.txt
@@ -11,7 +11,7 @@ add_library(restricted-boost-locale)
target_compile_options(restricted-boost-locale PRIVATE
-DBOOST_LOCALE_WITH_ICU
-DBOOST_LOCALE_NO_WINAPI_BACKEND
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(restricted-boost-locale PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/boost/locale/include
diff --git a/contrib/restricted/boost/locale/CMakeLists.linux.txt b/contrib/restricted/boost/locale/CMakeLists.linux.txt
index 435dc56508e..831330fafc3 100644
--- a/contrib/restricted/boost/locale/CMakeLists.linux.txt
+++ b/contrib/restricted/boost/locale/CMakeLists.linux.txt
@@ -11,7 +11,7 @@ add_library(restricted-boost-locale)
target_compile_options(restricted-boost-locale PRIVATE
-DBOOST_LOCALE_WITH_ICU
-DBOOST_LOCALE_NO_WINAPI_BACKEND
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(restricted-boost-locale PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/boost/locale/include
diff --git a/contrib/restricted/boost/program_options/CMakeLists.darwin.txt b/contrib/restricted/boost/program_options/CMakeLists.darwin.txt
index e6d6184a47f..c91dfc15c59 100644
--- a/contrib/restricted/boost/program_options/CMakeLists.darwin.txt
+++ b/contrib/restricted/boost/program_options/CMakeLists.darwin.txt
@@ -9,7 +9,7 @@
add_library(restricted-boost-program_options)
target_compile_options(restricted-boost-program_options PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(restricted-boost-program_options PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/boost/program_options/include
diff --git a/contrib/restricted/boost/program_options/CMakeLists.linux-aarch64.txt b/contrib/restricted/boost/program_options/CMakeLists.linux-aarch64.txt
index ea86a32d2a1..1bd268a977a 100644
--- a/contrib/restricted/boost/program_options/CMakeLists.linux-aarch64.txt
+++ b/contrib/restricted/boost/program_options/CMakeLists.linux-aarch64.txt
@@ -9,7 +9,7 @@
add_library(restricted-boost-program_options)
target_compile_options(restricted-boost-program_options PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(restricted-boost-program_options PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/boost/program_options/include
diff --git a/contrib/restricted/boost/program_options/CMakeLists.linux.txt b/contrib/restricted/boost/program_options/CMakeLists.linux.txt
index ea86a32d2a1..1bd268a977a 100644
--- a/contrib/restricted/boost/program_options/CMakeLists.linux.txt
+++ b/contrib/restricted/boost/program_options/CMakeLists.linux.txt
@@ -9,7 +9,7 @@
add_library(restricted-boost-program_options)
target_compile_options(restricted-boost-program_options PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(restricted-boost-program_options PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/boost/program_options/include
diff --git a/contrib/restricted/boost/random/CMakeLists.darwin.txt b/contrib/restricted/boost/random/CMakeLists.darwin.txt
index fbaeddaaa04..647aa946684 100644
--- a/contrib/restricted/boost/random/CMakeLists.darwin.txt
+++ b/contrib/restricted/boost/random/CMakeLists.darwin.txt
@@ -9,7 +9,7 @@
add_library(restricted-boost-random)
target_compile_options(restricted-boost-random PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(restricted-boost-random PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/boost/random/include
diff --git a/contrib/restricted/boost/random/CMakeLists.linux-aarch64.txt b/contrib/restricted/boost/random/CMakeLists.linux-aarch64.txt
index dd72204f907..23ae6c61529 100644
--- a/contrib/restricted/boost/random/CMakeLists.linux-aarch64.txt
+++ b/contrib/restricted/boost/random/CMakeLists.linux-aarch64.txt
@@ -9,7 +9,7 @@
add_library(restricted-boost-random)
target_compile_options(restricted-boost-random PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(restricted-boost-random PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/boost/random/include
diff --git a/contrib/restricted/boost/random/CMakeLists.linux.txt b/contrib/restricted/boost/random/CMakeLists.linux.txt
index dd72204f907..23ae6c61529 100644
--- a/contrib/restricted/boost/random/CMakeLists.linux.txt
+++ b/contrib/restricted/boost/random/CMakeLists.linux.txt
@@ -9,7 +9,7 @@
add_library(restricted-boost-random)
target_compile_options(restricted-boost-random PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(restricted-boost-random PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/boost/random/include
diff --git a/contrib/restricted/boost/regex/CMakeLists.darwin.txt b/contrib/restricted/boost/regex/CMakeLists.darwin.txt
index 7249a027155..b0c67b4c889 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 dae13bda834..554805be78e 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 dae13bda834..554805be78e 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
diff --git a/contrib/restricted/boost/serialization/CMakeLists.darwin.txt b/contrib/restricted/boost/serialization/CMakeLists.darwin.txt
index 9e600c2b800..52603eb79dc 100644
--- a/contrib/restricted/boost/serialization/CMakeLists.darwin.txt
+++ b/contrib/restricted/boost/serialization/CMakeLists.darwin.txt
@@ -9,7 +9,7 @@
add_library(restricted-boost-serialization)
target_compile_options(restricted-boost-serialization PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(restricted-boost-serialization PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/boost/serialization/include
diff --git a/contrib/restricted/boost/serialization/CMakeLists.linux-aarch64.txt b/contrib/restricted/boost/serialization/CMakeLists.linux-aarch64.txt
index 9ac87d57dbe..43d01c0ab03 100644
--- a/contrib/restricted/boost/serialization/CMakeLists.linux-aarch64.txt
+++ b/contrib/restricted/boost/serialization/CMakeLists.linux-aarch64.txt
@@ -9,7 +9,7 @@
add_library(restricted-boost-serialization)
target_compile_options(restricted-boost-serialization PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(restricted-boost-serialization PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/boost/serialization/include
diff --git a/contrib/restricted/boost/serialization/CMakeLists.linux.txt b/contrib/restricted/boost/serialization/CMakeLists.linux.txt
index 9ac87d57dbe..43d01c0ab03 100644
--- a/contrib/restricted/boost/serialization/CMakeLists.linux.txt
+++ b/contrib/restricted/boost/serialization/CMakeLists.linux.txt
@@ -9,7 +9,7 @@
add_library(restricted-boost-serialization)
target_compile_options(restricted-boost-serialization PRIVATE
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(restricted-boost-serialization PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/boost/serialization/include
diff --git a/contrib/restricted/boost/thread/CMakeLists.darwin.txt b/contrib/restricted/boost/thread/CMakeLists.darwin.txt
index 064c029f62d..683da254264 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 ff651659fb0..ee0e2e1fcc5 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 ff651659fb0..ee0e2e1fcc5 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