mirror of
https://github.com/geode-sdk/geode.git
synced 2025-03-25 04:11:42 -04:00
fix linking android dependencies
This commit is contained in:
parent
e7a1913254
commit
d5742480a7
1 changed files with 5 additions and 1 deletions
|
@ -202,7 +202,11 @@ function(setup_geode_mod proname)
|
|||
file(GLOB libs ${dir}/*.dylib)
|
||||
list(APPEND libs_to_link ${libs})
|
||||
elseif (ANDROID)
|
||||
file(GLOB libs ${dir}/*.so)
|
||||
if (CMAKE_ANDROID_ARCH_ABI STREQUAL "arm64-v8a")
|
||||
file(GLOB libs ${dir}/*.android64.so)
|
||||
else()
|
||||
file(GLOB libs ${dir}/*.android32.so)
|
||||
endif()
|
||||
list(APPEND libs_to_link ${libs})
|
||||
else()
|
||||
message(FATAL_ERROR "Library extension not defined on this platform")
|
||||
|
|
Loading…
Add table
Reference in a new issue