diff options
author | Brad King <brad.king@kitware.com> | 2019-03-18 15:24:20 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2019-03-18 15:24:30 (GMT) |
commit | 8d179cce8790d2a514075b72c11a1e039c51d942 (patch) | |
tree | a99f82a150860c9e218704c3b4cbe4d37256b5b6 /Utilities | |
parent | b06f8c93e5bc65394fe55b3f7ae923fe296048b3 (diff) | |
parent | 80af3ddea7ce2717c9a33a51954b9ccd6246af1d (diff) | |
download | CMake-8d179cce8790d2a514075b72c11a1e039c51d942.zip CMake-8d179cce8790d2a514075b72c11a1e039c51d942.tar.gz CMake-8d179cce8790d2a514075b72c11a1e039c51d942.tar.bz2 |
Merge topic 'import-zstd'
80af3ddea7 zstd: Disable BMI2 instructions for build within CMake
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3107
Diffstat (limited to 'Utilities')
-rw-r--r-- | Utilities/cmzstd/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Utilities/cmzstd/CMakeLists.txt b/Utilities/cmzstd/CMakeLists.txt index b1399bd..8ed04d8 100644 --- a/Utilities/cmzstd/CMakeLists.txt +++ b/Utilities/cmzstd/CMakeLists.txt @@ -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) |