From: Lasse Collin Date: Sat, 15 Jun 2024 15:07:04 +0000 (+0300) Subject: CMake: Rename ALLOW_CLMUL_CRC to XZ_CLMUL_CRC X-Git-Tag: v5.7.1alpha~200 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3dcc12290d6dffbe7f10f501c141d325bad65901;p=thirdparty%2Fxz.git CMake: Rename ALLOW_CLMUL_CRC to XZ_CLMUL_CRC Update description too. --- 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