From dd9a6a7577e75b5897fda714b2d4019b8814f748 Mon Sep 17 00:00:00 2001 From: Integral Date: Fri, 19 Dec 2025 12:49:53 +0800 Subject: [PATCH] Fix search path of libirecovery The search path of libirecovery should be consistent with other libraries. --- CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 327ce56..1b85b1a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -129,8 +129,7 @@ pkg_check_modules(SWSCALE REQUIRED IMPORTED_TARGET libswscale) if(ENABLE_RECOVERY_DEVICE_SUPPORT) find_library(IRECOVERY_LIBRARY NAMES irecovery-1.0 - PATHS ${CUSTOM_LIB_PATH} - NO_DEFAULT_PATH + ${CUSTOM_FIND_LIB_ARGS} ) if(IRECOVERY_LIBRARY) message(STATUS "Building with recovery device support enabled")