From 487195b716b519ad29e506c02743f7b8e035af45 Mon Sep 17 00:00:00 2001 From: Michatec Date: Mon, 6 Apr 2026 15:20:20 +0200 Subject: [PATCH] build: rename target library to dsp in CMakeLists.txt --- app/src/main/cpp/CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/main/cpp/CMakeLists.txt b/app/src/main/cpp/CMakeLists.txt index e681067..81e6daf 100644 --- a/app/src/main/cpp/CMakeLists.txt +++ b/app/src/main/cpp/CMakeLists.txt @@ -18,21 +18,21 @@ project("radio") # Gradle automatically packages shared libraries with your APK. # # In this top level CMakeLists.txt, ${CMAKE_PROJECT_NAME} is used to define -# the target library name; in the sub-module's CMakeLists.txt, ${PROJECT_NAME} +# the target library name; in the sub-module's CMakeLists.txt, the project name # is preferred for the same purpose. # # In order to load a library into your app from Java/Kotlin, you must call # System.loadLibrary() and pass the name of the library defined here; # for GameActivity/NativeActivity derived applications, the same library name must be # used in the AndroidManifest.xml file. -add_library(${CMAKE_PROJECT_NAME} SHARED +add_library(dsp SHARED # List C/C++ source files with relative paths to this CMakeLists.txt. dsp.cpp) # Specifies libraries CMake should link to your target library. You # can link libraries from various origins, such as libraries defined in this # build script, prebuilt third-party libraries, or Android system libraries. -target_link_libraries(${CMAKE_PROJECT_NAME} +target_link_libraries(dsp # List libraries link to the target library android log)