fix: disable vectorscan when building w/o SSE >=3

This commit is contained in:
Robert Schulze 2022-09-06 16:15:50 +00:00
parent 652f1bfd19
commit cc1bd3ac36
No known key found for this signature in database
GPG Key ID: 26703B55FB13728A

View File

@ -1,6 +1,6 @@
# We use vectorscan, a portable and API/ABI-compatible drop-in replacement for hyperscan.
if (ARCH_AMD64)
if (ARCH_AMD64 AND NOT NO_SSE3_OR_HIGHER)
option (ENABLE_VECTORSCAN "Enable vectorscan library" ${ENABLE_LIBRARIES})
endif()