编译libmp3lame

编译libmp3lame
pull/107/head
xufulong 5 years ago
parent 16e5f65ea1
commit 3836b5c194
  1. 14
      app/CMakeLists.txt

@ -42,12 +42,12 @@ set_target_properties( ffmpeg
PROPERTIES IMPORTED_LOCATION
../../../../libs/${CMAKE_ANDROID_ARCH_ABI}/libffmpeg.so )
#add_library( mp3lame
# SHARED
# IMPORTED )
#set_target_properties( mp3lame
# PROPERTIES IMPORTED_LOCATION
# ../../../../libs/${CMAKE_ANDROID_ARCH_ABI}/libmp3lame.so )
add_library( mp3lame
SHARED
IMPORTED )
set_target_properties( mp3lame
PROPERTIES IMPORTED_LOCATION
../../../../libs/${CMAKE_ANDROID_ARCH_ABI}/libmp3lame.so )
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=gnu++11")
@ -67,7 +67,7 @@ find_library( # Sets the name of the path variable.
target_link_libraries( # Specifies the target library.
media-handle
# mp3lame
mp3lame
ffmpeg
-landroid #native_window
-ljnigraphics #bitmap

Loading…
Cancel
Save