aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcryptobox/CMakeLists.txt
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-02-06 17:28:28 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2017-02-06 17:28:28 +0000
commit10888831dd7706ce58de3124a0502f5d0cd244e7 (patch)
treea095bc846a2ac0d31715ddf00dbec2b0e74878c0 /src/libcryptobox/CMakeLists.txt
parent84a551b5fb0d3c052b7f06a46400cc841ebba7c0 (diff)
downloadrspamd-10888831dd7706ce58de3124a0502f5d0cd244e7.tar.gz
rspamd-10888831dd7706ce58de3124a0502f5d0cd244e7.zip
[Feature] Add sse42 version of base64 decoding
Diffstat (limited to 'src/libcryptobox/CMakeLists.txt')
-rw-r--r--src/libcryptobox/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libcryptobox/CMakeLists.txt b/src/libcryptobox/CMakeLists.txt
index 9cca1b694..6e0344bbf 100644
--- a/src/libcryptobox/CMakeLists.txt
+++ b/src/libcryptobox/CMakeLists.txt
@@ -94,6 +94,9 @@ ENDIF(HAVE_SSE2)
IF(HAVE_SSE41)
SET(SIPHASHSRC ${SIPHASHSRC} ${CMAKE_CURRENT_SOURCE_DIR}/siphash/sse41.S)
ENDIF(HAVE_SSE41)
+IF(HAVE_SSE42)
+ SET(BASE64SRC ${BASE64SRC} ${CMAKE_CURRENT_SOURCE_DIR}/base64/sse42.c)
+ENDIF(HAVE_SSE42)
CONFIGURE_FILE(platform_config.h.in platform_config.h)
INCLUDE_DIRECTORIES("${CMAKE_CURRENT_BINARY_DIR}")