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

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