From 2c7f9b1b78f47a6d84e5c54a1fa3761af0485aba Mon Sep 17 00:00:00 2001 From: Ryan Houdek Date: Sat, 18 May 2013 03:56:45 -0500 Subject: [PATCH] [Android] Copy over the Dolphin shared library to the Android APK build directory so it doesn't need to be manually copied each time. --- Source/Core/DolphinWX/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Source/Core/DolphinWX/CMakeLists.txt b/Source/Core/DolphinWX/CMakeLists.txt index 9508f75a36..e3f8789634 100644 --- a/Source/Core/DolphinWX/CMakeLists.txt +++ b/Source/Core/DolphinWX/CMakeLists.txt @@ -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})