aboutsummaryrefslogtreecommitdiffhomepage
path: root/tdutils/CMakeLists.txt
diff options
context:
space:
mode:
authorZephyr Lykos <git@mochaa.ws>2023-10-14 08:03:29 +0800
committerAliaksei Levin <22669599+levlam@users.noreply.github.com>2023-10-14 23:56:00 +0300
commit5881dde135b77c95c82eda088d4aef2b22d760c6 (patch)
tree48d4381dadcf9a626ede268867841a97d4e92c29 /tdutils/CMakeLists.txt
parent90fd69b2029ea2989c4668a52fe39a561b43bb08 (diff)
Fix finding CRC32C
Diffstat (limited to 'tdutils/CMakeLists.txt')
-rw-r--r--tdutils/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/tdutils/CMakeLists.txt b/tdutils/CMakeLists.txt
index e7b4b788a..56176ed34 100644
--- a/tdutils/CMakeLists.txt
+++ b/tdutils/CMakeLists.txt
@@ -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()