CMake: Rename ALLOW_ARM64_CRC32 to XZ_ARM64_CRC32

Update description too.
This commit is contained in:
Lasse Collin 2024-06-15 18:07:04 +03:00
parent 3dcc12290d
commit 612ccebf88
1 changed files with 3 additions and 3 deletions

View File

@ -1193,10 +1193,10 @@ endif()
# These are supported by at least GCC and Clang which both need # These are supported by at least GCC and Clang which both need
# __attribute__((__target__("+crc"))), unless the needed compiler flags # __attribute__((__target__("+crc"))), unless the needed compiler flags
# are used to support the CRC instruction. # are used to support the CRC instruction.
option(ALLOW_ARM64_CRC32 "Allow ARM64 CRC32 instruction if supported by \ option(XZ_ARM64_CRC32 "Use ARM64 CRC32 instructions (with runtime detection) \
the system" ON) if supported by the compiler" ON)
if(ALLOW_ARM64_CRC32) if(XZ_ARM64_CRC32)
check_c_source_compiles(" check_c_source_compiles("
#include <stdint.h> #include <stdint.h>