diff options
| -rw-r--r-- | CMakeLists.txt | 2 |
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() |
