fix android build, Update CMakeLists.txt

This commit is contained in:
gaoshan 2024-06-27 11:30:49 +08:00 committed by GitHub
parent 2f2e8c2e43
commit 632c61d232
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

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