[Android] Copy over the Dolphin shared library to the Android APK build directory so it doesn't need to be manually copied each time.
This commit is contained in:
parent
39c9516197
commit
2c7f9b1b78
|
@ -172,6 +172,9 @@ if(ANDROID)
|
|||
${LIBS}
|
||||
"-Wl,--no-whole-archive"
|
||||
)
|
||||
add_custom_command(TARGET ${DOLPHIN_EXE} POST_BUILD
|
||||
COMMAND cp ARGS ${CMAKE_SOURCE_DIR}/libs/armeabi-v7a/lib${DOLPHIN_EXE}.so ${CMAKE_SOURCE_DIR}/Source/Android/libs/armeabi-v7a
|
||||
)
|
||||
else()
|
||||
add_executable(${DOLPHIN_EXE} ${SRCS})
|
||||
target_link_libraries(${DOLPHIN_EXE} ${LIBS} ${WXLIBS})
|
||||
|
|
Loading…
Reference in New Issue