CMake: Add ALLOW_CLMUL_CRC option to enable/disable CLMUL.
commit139757170468f0f1fafdf0a8ffa74363d1ea1d0c
authorJia Tan <jiat0218@gmail.com>
Thu, 19 Oct 2023 08:09:01 +0000 (19 16:09 +0800)
committerJia Tan <jiat0218@gmail.com>
Thu, 19 Oct 2023 08:09:01 +0000 (19 16:09 +0800)
tree3cc891b0566a3c6d75b84a41b50fce67f3f3f5dd
parentc60b25569d414bb73b705977a4dd342f8f9f1965
CMake: Add ALLOW_CLMUL_CRC option to enable/disable CLMUL.

The option is enabled by default, but will only be visible to a user
listing cache variables or using a CMake GUI application if the
immintrin.h header file is found.

This mirrors our Autotools build --disable-clmul-crc functionality.
CMakeLists.txt