Commit 80af3dde authored by Brad King's avatar Brad King

zstd: Disable BMI2 instructions for build within CMake

Our nightly and release binaries build in an environment that does not
support these instructions.  Disable them everywhere for simplicity
because CMake's application of this library is not performance-critical.
parent 1761a9a5
......@@ -41,4 +41,7 @@ add_library(cmzstd STATIC
lib/dictBuilder/zdict.c
)
# BMI2 instructions are not supported in older environments.
set_property(TARGET cmzstd PROPERTY COMPILE_DEFINITIONS DYNAMIC_BMI2=0)
install(FILES LICENSE DESTINATION ${CMAKE_DOC_DIR}/cmzstd)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment