diff --git a/android/app/build.gradle b/android/app/build.gradle index a28f69da..4c557a7e 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -14,7 +14,7 @@ android { externalNativeBuild { cmake { - arguments "-DOPT_BACKEND_GLFW=OFF", "-DOPT_BACKEND_ANDROID=ON", "-DOPT_BUILD_SOAPY_SOURCE=OFF", "-DOPT_BUILD_ANDROID_AUDIO_SINK=ON", "-DOPT_BUILD_AUDIO_SINK=OFF", "-DOPT_BUILD_DISCORD_PRESENCE=OFF", "-DOPT_BUILD_M17_DECODER=OFF", "-DOPT_BUILD_PLUTOSDR_SOURCE=OFF" + arguments "-DOPT_BACKEND_GLFW=OFF", "-DOPT_BACKEND_ANDROID=ON", "-DOPT_BUILD_SOAPY_SOURCE=OFF", "-DOPT_BUILD_ANDROID_AUDIO_SINK=ON", "-DOPT_BUILD_AUDIO_SINK=OFF", "-DOPT_BUILD_DISCORD_PRESENCE=OFF", "-DOPT_BUILD_M17_DECODER=ON", "-DOPT_BUILD_PLUTOSDR_SOURCE=OFF" } } } diff --git a/decoder_modules/m17_decoder/CMakeLists.txt b/decoder_modules/m17_decoder/CMakeLists.txt index 5e7210e3..a544d27d 100644 --- a/decoder_modules/m17_decoder/CMakeLists.txt +++ b/decoder_modules/m17_decoder/CMakeLists.txt @@ -15,12 +15,11 @@ if (MSVC) target_link_libraries(m17_decoder PRIVATE libcodec2) elseif (ANDROID) target_include_directories(m17_decoder PUBLIC - /mnt/android_sdr/codec2/src - /mnt/android_sdr/output/codec2/${ANDROID_ABI}/ + /sdr-kit/${ANDROID_ABI}/include/codec2 ) target_link_libraries(m17_decoder PUBLIC - /mnt/android_sdr/output/codec2/${ANDROID_ABI}/libcodec2.so + /sdr-kit/${ANDROID_ABI}/lib/libcodec2.so ) else () find_package(PkgConfig)