Fix android build, link log library (#3670)

This commit is contained in:
gaoshan 2024-06-28 19:09:41 +08:00 committed by GitHub
parent cf6066b36e
commit 116c3e4642
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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()