aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/farmhash/arch/sse42_aesni
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/farmhash/arch/sse42_aesni
parent8febb7430db23f80ae26a24cbfdc17e40ae3d1db (diff)
downloadydb-a9e5890a07cad8cfc475223eb12855a31ec8318a.tar.gz
NO_COMPILER_WARNINGS in cmake msvc builds
Diffstat (limited to 'contrib/libs/farmhash/arch/sse42_aesni')
-rw-r--r--contrib/libs/farmhash/arch/sse42_aesni/CMakeLists.darwin.txt2
-rw-r--r--contrib/libs/farmhash/arch/sse42_aesni/CMakeLists.linux-aarch64.txt2
-rw-r--r--contrib/libs/farmhash/arch/sse42_aesni/CMakeLists.linux.txt2
3 files changed, 3 insertions, 3 deletions
diff --git a/contrib/libs/farmhash/arch/sse42_aesni/CMakeLists.darwin.txt b/contrib/libs/farmhash/arch/sse42_aesni/CMakeLists.darwin.txt
index e635439149..c73d04f960 100644
--- a/contrib/libs/farmhash/arch/sse42_aesni/CMakeLists.darwin.txt
+++ b/contrib/libs/farmhash/arch/sse42_aesni/CMakeLists.darwin.txt
@@ -11,7 +11,7 @@ add_library(farmhash-arch-sse42_aesni)
target_compile_options(farmhash-arch-sse42_aesni PRIVATE
-msse4.2
-maes
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_link_libraries(farmhash-arch-sse42_aesni PUBLIC
contrib-libs-cxxsupp
diff --git a/contrib/libs/farmhash/arch/sse42_aesni/CMakeLists.linux-aarch64.txt b/contrib/libs/farmhash/arch/sse42_aesni/CMakeLists.linux-aarch64.txt
index 770ce1c80e..b0bb6a5860 100644
--- a/contrib/libs/farmhash/arch/sse42_aesni/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/farmhash/arch/sse42_aesni/CMakeLists.linux-aarch64.txt
@@ -11,7 +11,7 @@ add_library(farmhash-arch-sse42_aesni)
target_compile_options(farmhash-arch-sse42_aesni PRIVATE
-msse4.2
-maes
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_link_libraries(farmhash-arch-sse42_aesni PUBLIC
contrib-libs-linux-headers
diff --git a/contrib/libs/farmhash/arch/sse42_aesni/CMakeLists.linux.txt b/contrib/libs/farmhash/arch/sse42_aesni/CMakeLists.linux.txt
index 770ce1c80e..b0bb6a5860 100644
--- a/contrib/libs/farmhash/arch/sse42_aesni/CMakeLists.linux.txt
+++ b/contrib/libs/farmhash/arch/sse42_aesni/CMakeLists.linux.txt
@@ -11,7 +11,7 @@ add_library(farmhash-arch-sse42_aesni)
target_compile_options(farmhash-arch-sse42_aesni PRIVATE
-msse4.2
-maes
- -Wno-everything
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_link_libraries(farmhash-arch-sse42_aesni PUBLIC
contrib-libs-linux-headers