diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-12-23 12:16:18 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-12-23 12:16:18 +0000 |
commit | 92e62855a64d1f7f0e52720399f8aa31bdcb0983 (patch) | |
tree | d2f394229d4d0fc5aca0a3ce02862607e8697c8d /cmake | |
parent | 80a9e13826c197ae13095dfa33c7bde910034142 (diff) | |
download | rspamd-92e62855a64d1f7f0e52720399f8aa31bdcb0983.tar.gz rspamd-92e62855a64d1f7f0e52720399f8aa31bdcb0983.zip |
[Minor] Allow hyperscan on i386 platform
Issue: #3195
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/Hyperscan.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/Hyperscan.cmake b/cmake/Hyperscan.cmake index 3dd774511..b8f83a3bb 100644 --- a/cmake/Hyperscan.cmake +++ b/cmake/Hyperscan.cmake @@ -1,8 +1,8 @@ option (ENABLE_HYPERSCAN "Enable hyperscan for fast regexp processing [default: OFF]" OFF) if (ENABLE_HYPERSCAN MATCHES "ON") - if (NOT "${ARCH}" STREQUAL "x86_64") - MESSAGE(FATAL_ERROR "Hyperscan is supported only on x86_64 architecture") + if (NOT ("${ARCH}" STREQUAL "x86_64" OR "${ARCH}" STREQUAL "i386")) + MESSAGE(FATAL_ERROR "Hyperscan is supported only on x86_64/i386 architectures") endif () ProcessPackage (HYPERSCAN LIBRARY hs INCLUDE hs.h INCLUDE_SUFFIXES hs include/hs |