Fix finding CRC32C

This commit is contained in:
Zephyr Lykos 2023-10-14 08:03:29 +08:00 committed by Aliaksei Levin
parent 90fd69b202
commit 5881dde135

View File

@ -24,6 +24,9 @@ if (ZLIB_FOUND)
endif()
endif()
if (NOT CRC32C_FOUND)
find_package(Crc32c)
endif()
if (CRC32C_FOUND)
set(TD_HAVE_CRC32C 1)
endif()