From 612ccebf884eb1a9b6848e230c24f97a03fe917a Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Sat, 15 Jun 2024 18:07:04 +0300 Subject: [PATCH] CMake: Rename ALLOW_ARM64_CRC32 to XZ_ARM64_CRC32 Update description too. --- CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ad04e9a5..646b01ac 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1193,10 +1193,10 @@ endif() # These are supported by at least GCC and Clang which both need # __attribute__((__target__("+crc"))), unless the needed compiler flags # are used to support the CRC instruction. -option(ALLOW_ARM64_CRC32 "Allow ARM64 CRC32 instruction if supported by \ -the system" ON) +option(XZ_ARM64_CRC32 "Use ARM64 CRC32 instructions (with runtime detection) \ +if supported by the compiler" ON) -if(ALLOW_ARM64_CRC32) +if(XZ_ARM64_CRC32) check_c_source_compiles(" #include