From c5a5fec1b84238251b8c91a835e3613b36ee878c Mon Sep 17 00:00:00 2001 From: Vasilis Vryniotis Date: Sun, 23 May 2021 12:24:40 +0100 Subject: [PATCH] Fix Android CI --- android/ops/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/ops/CMakeLists.txt b/android/ops/CMakeLists.txt index 3210925a85c..6f5323c0d39 100644 --- a/android/ops/CMakeLists.txt +++ b/android/ops/CMakeLists.txt @@ -35,7 +35,7 @@ target_compile_options(${TARGET} PRIVATE set(BUILD_SUBDIR ${ANDROID_ABI}) -find_library(PYTORCH_LIBRARY pytorch_jni +find_library(PYTORCH_LIBRARY pytorch_jni_lite PATHS ${PYTORCH_LINK_DIRS} NO_CMAKE_FIND_ROOT_PATH)