summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKiritoDv <kiritodev01@gmail.com>2026-07-16 09:22:39 -0600
committerKiritoDv <kiritodev01@gmail.com>2026-07-16 09:22:39 -0600
commita72f4747afcd72eed4b27b67d0a87ac83080a0b8 (patch)
treeab0126f4eb7119f8d3cf5d5ee3fb75a6b3478c5c
parent024b7877b4f26e08f48ef1e59d8d7f98d657c842 (diff)
zlib fixed
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 3e5631c..77c95fd 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -376,7 +376,7 @@ FetchContent_Declare(
FetchContent_MakeAvailable(tinyxml2)
# Link zlib
-if(EMSCRIPTEN)
+if(EMSCRIPTEN OR ANDROID)
find_package(ZLIB REQUIRED)
set(TORCH_ZLIB_TARGET ZLIB::ZLIB)
else()