mirror of
https://github.com/overte-org/overte.git
synced 2025-04-23 01:53:35 +02:00
add the list of hifi shared libs to apk libs
This commit is contained in:
parent
fce239fb70
commit
05cfd05e47
1 changed files with 8 additions and 1 deletions
|
@ -12,7 +12,9 @@ include_directories(${ANDROID_NDK}/sources/android/native_app_glue)
|
|||
|
||||
include_glm()
|
||||
|
||||
link_hifi_libraries(shared networking)
|
||||
set(REQUIRED_HIFI_LIBRARIES "shared" "networking")
|
||||
|
||||
link_hifi_libraries(${REQUIRED_HIFI_LIBRARIES})
|
||||
link_shared_dependencies()
|
||||
|
||||
target_link_libraries(${TARGET_NAME} log android)
|
||||
|
@ -24,6 +26,11 @@ set(ARM_TARGET "armeabi-v7a")
|
|||
set(TARGET_SHARED_LIBRARIES ${${TARGET_NAME}_LIBRARIES_TO_LINK})
|
||||
list(APPEND TARGET_SHARED_LIBRARIES "${LIBRARY_OUTPUT_PATH}/lib${TARGET_NAME}.so")
|
||||
|
||||
# append each of the hifi shared libraries to our list of libs to link
|
||||
foreach(HIFI_SHARED_LIBRARY ${REQUIRED_HIFI_LIBRARIES})
|
||||
list(APPEND TARGET_SHARED_LIBRARIES "${LIBRARY_OUTPUT_PATH}/lib${HIFI_SHARED_LIBRARY}.so")
|
||||
endforeach()
|
||||
|
||||
set(TARGET_JAR_LIBRARIES "${QT_CMAKE_PREFIX_PATH}/../../jar/QtAndroid-bundled.jar")
|
||||
|
||||
android_create_apk(
|
||||
|
|
Loading…
Reference in a new issue