From 116c3e4642b5024d73e5c7e0b3578843bb2dc754 Mon Sep 17 00:00:00 2001 From: gaoshan Date: Fri, 28 Jun 2024 19:09:41 +0800 Subject: [PATCH] Fix android build, link log library (#3670) --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8816d398..d37d1a04 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -448,6 +448,8 @@ endif() if(WIN32) update_cached_list(MK_LINK_LIBRARIES WS2_32 Iphlpapi shlwapi) +elseif(ANDROID) + update_cached_list(MK_LINK_LIBRARIES log) elseif(NOT ANDROID OR IOS) update_cached_list(MK_LINK_LIBRARIES pthread) endif()