编译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 PROPERTIES IMPORTED_LOCATION
../../../../libs/${CMAKE_ANDROID_ARCH_ABI}/libffmpeg.so ) ../../../../libs/${CMAKE_ANDROID_ARCH_ABI}/libffmpeg.so )
#add_library( mp3lame add_library( mp3lame
# SHARED SHARED
# IMPORTED ) IMPORTED )
#set_target_properties( mp3lame set_target_properties( mp3lame
# PROPERTIES IMPORTED_LOCATION PROPERTIES IMPORTED_LOCATION
# ../../../../libs/${CMAKE_ANDROID_ARCH_ABI}/libmp3lame.so ) ../../../../libs/${CMAKE_ANDROID_ARCH_ABI}/libmp3lame.so )
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=gnu++11") 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. target_link_libraries( # Specifies the target library.
media-handle media-handle
# mp3lame mp3lame
ffmpeg ffmpeg
-landroid #native_window -landroid #native_window
-ljnigraphics #bitmap -ljnigraphics #bitmap

Loading…
Cancel
Save