From 3dcc12290d6dffbe7f10f501c141d325bad65901 Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Sat, 15 Jun 2024 18:07:04 +0300 Subject: [PATCH] CMake: Rename ALLOW_CLMUL_CRC to XZ_CLMUL_CRC Update description too. --- CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a48a5fcd..ad04e9a5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1164,10 +1164,10 @@ if(HAVE_IMMINTRIN_H) tuklib_add_definition_if(liblzma HAVE__MM_MOVEMASK_EPI8) # CLMUL intrinsic: - option(ALLOW_CLMUL_CRC "Allow carryless multiplication for CRC \ -calculation if supported by the system" ON) + option(XZ_CLMUL_CRC "Use carryless multiplication for CRC \ +calculation (with runtime detection) if supported by the compiler" ON) - if(ALLOW_CLMUL_CRC) + if(XZ_CLMUL_CRC) check_c_source_compiles(" #include #if defined(__e2k__) && __iset__ < 6