aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/base64/avx2/CMakeLists.txt
diff options
context:
space:
mode:
authorarcadia-devtools <arcadia-devtools@yandex-team.ru>2022-03-04 10:58:59 +0300
committerarcadia-devtools <arcadia-devtools@yandex-team.ru>2022-03-04 10:58:59 +0300
commitaa7e838c4b7bbdd8d9a1c82046e7081ebd1cbe2e (patch)
tree6ea82e3ca824b4fb04fd973b110cb408d451e0cc /contrib/libs/base64/avx2/CMakeLists.txt
parent3a535176128bdad1d83eeec320b37a01f20b50b8 (diff)
downloadydb-aa7e838c4b7bbdd8d9a1c82046e7081ebd1cbe2e.tar.gz
intermediate changes
ref:ba188b6e6f34c0f432e040f1be5ae99ba5140cbd
Diffstat (limited to 'contrib/libs/base64/avx2/CMakeLists.txt')
-rw-r--r--contrib/libs/base64/avx2/CMakeLists.txt18
1 files changed, 18 insertions, 0 deletions
diff --git a/contrib/libs/base64/avx2/CMakeLists.txt b/contrib/libs/base64/avx2/CMakeLists.txt
index 3270033f63..085333714b 100644
--- a/contrib/libs/base64/avx2/CMakeLists.txt
+++ b/contrib/libs/base64/avx2/CMakeLists.txt
@@ -15,3 +15,21 @@ target_sources(libs-base64-avx2 PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/base64/avx2/codec_avx2.c
${CMAKE_SOURCE_DIR}/contrib/libs/base64/avx2/lib.c
)
+set_property(
+ SOURCE
+ ${CMAKE_SOURCE_DIR}/contrib/libs/base64/avx2/codec_avx2.c
+ APPEND
+ PROPERTY
+ COMPILE_OPTIONS
+ -mavx2
+ -std=c11
+)
+set_property(
+ SOURCE
+ ${CMAKE_SOURCE_DIR}/contrib/libs/base64/avx2/lib.c
+ APPEND
+ PROPERTY
+ COMPILE_OPTIONS
+ -mavx2
+ -std=c11
+)