Skip to content

Instantly share code, notes, and snippets.

@KucherenkoIhor
Created September 4, 2017 14:01
Show Gist options
  • Save KucherenkoIhor/e7cfc9071478521840ab7ad9acd5a30f to your computer and use it in GitHub Desktop.
Save KucherenkoIhor/e7cfc9071478521840ab7ad9acd5a30f to your computer and use it in GitHub Desktop.
set(ffmpeg_DIR ${CMAKE_SOURCE_DIR}/src/main/cpp/ffmpeg)
add_library(avutil-55 SHARED IMPORTED)
set_target_properties(avutil-55 PROPERTIES IMPORTED_LOCATION
${ffmpeg_DIR}/lib/${ANDROID_ABI}/libavutil-55.so)
add_library(avformat-57 SHARED IMPORTED)
set_target_properties(avformat-57 PROPERTIES IMPORTED_LOCATION
${ffmpeg_DIR}/lib/${ANDROID_ABI}/libavformat-57.so)
add_library(avcodec-57 SHARED IMPORTED)
set_target_properties(avcodec-57 PROPERTIES IMPORTED_LOCATION
${ffmpeg_DIR}/lib/${ANDROID_ABI}/libavcodec-57.so)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment