Fix search path of libirecovery

The search path of libirecovery should be consistent with other
libraries.
This commit is contained in:
Integral
2025-12-19 12:49:53 +08:00
parent 3a066aac55
commit dd9a6a7577
+1 -2
View File
@@ -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")