mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2026-04-23 00:17:25 +08:00
[Bug Fix] fix android log undefined in examples build (#913)
This commit is contained in:
@@ -248,6 +248,12 @@ if(WITH_XPU)
|
||||
list(APPEND FASTDEPLOY_LIBS -lpthread -lrt -ldl)
|
||||
endif()
|
||||
|
||||
# log lib for Android
|
||||
if(ANDROID)
|
||||
find_library(log-lib log)
|
||||
list(APPEND FASTDEPLOY_LIBS ${log-lib})
|
||||
endif()
|
||||
|
||||
remove_duplicate_libraries(FASTDEPLOY_LIBS)
|
||||
|
||||
# Print compiler information
|
||||
|
||||
Reference in New Issue
Block a user