summaryrefslogtreecommitdiffstats
path: root/contrib/restricted/aws/aws-c-common
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/aws/aws-c-common
parent8febb7430db23f80ae26a24cbfdc17e40ae3d1db (diff)
NO_COMPILER_WARNINGS in cmake msvc builds
Diffstat (limited to 'contrib/restricted/aws/aws-c-common')
-rw-r--r--contrib/restricted/aws/aws-c-common/CMakeLists.darwin.txt2
-rw-r--r--contrib/restricted/aws/aws-c-common/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/restricted/aws/aws-c-common/CMakeLists.linux.txt2
3 files changed, 3 insertions, 3 deletions
diff --git a/contrib/restricted/aws/aws-c-common/CMakeLists.darwin.txt b/contrib/restricted/aws/aws-c-common/CMakeLists.darwin.txt
index 63adc5461cd..c6d3f58fef0 100644
--- a/contrib/restricted/aws/aws-c-common/CMakeLists.darwin.txt
+++ b/contrib/restricted/aws/aws-c-common/CMakeLists.darwin.txt
@@ -17,7 +17,7 @@ target_compile_options(restricted-aws-aws-c-common PRIVATE
-DHAVE_MM256_EXTRACT_EPI64
-DHAVE_AVX2_INTRINSICS
-DUSE_SIMD_ENCODING
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(restricted-aws-aws-c-common PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/generated/include
diff --git a/contrib/restricted/aws/aws-c-common/CMakeLists.linux-aarch64.txt b/contrib/restricted/aws/aws-c-common/CMakeLists.linux-aarch64.txt
index 9fd9236853a..a146f742885 100644
--- a/contrib/restricted/aws/aws-c-common/CMakeLists.linux-aarch64.txt
+++ b/contrib/restricted/aws/aws-c-common/CMakeLists.linux-aarch64.txt
@@ -14,7 +14,7 @@ target_compile_options(restricted-aws-aws-c-common PRIVATE
-DCJSON_HIDE_SYMBOLS
-DHAVE_SYSCONF
-DAWS_AFFINITY_METHOD=AWS_AFFINITY_METHOD_PTHREAD_ATTR
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(restricted-aws-aws-c-common PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/generated/include
diff --git a/contrib/restricted/aws/aws-c-common/CMakeLists.linux.txt b/contrib/restricted/aws/aws-c-common/CMakeLists.linux.txt
index f5725691330..2e36a7692bc 100644
--- a/contrib/restricted/aws/aws-c-common/CMakeLists.linux.txt
+++ b/contrib/restricted/aws/aws-c-common/CMakeLists.linux.txt
@@ -17,7 +17,7 @@ target_compile_options(restricted-aws-aws-c-common PRIVATE
-DHAVE_MM256_EXTRACT_EPI64
-DHAVE_AVX2_INTRINSICS
-DUSE_SIMD_ENCODING
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(restricted-aws-aws-c-common PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/generated/include