- Refactoring to c Co-authored-by: lamadaemon <i@lama.icu> Co-authored-by: ShirkNeko <109797057+ShirkNeko@users.noreply.github.com> Signed-off-by: ShirkNeko <109797057+ShirkNeko@users.noreply.github.com>
17 lines
411 B
CMake
17 lines
411 B
CMake
# For more information about using CMake with Android Studio, read the
|
|
# documentation: https://d.android.com/studio/projects/add-native-code.html
|
|
|
|
# Sets the minimum version of CMake required to build the native library.
|
|
cmake_minimum_required(VERSION 3.18.1)
|
|
|
|
project("kernelsu")
|
|
|
|
add_library(zako
|
|
SHARED
|
|
jni.c
|
|
ksu.c
|
|
)
|
|
|
|
find_library(log-lib log)
|
|
|
|
target_link_libraries(zako ${log-lib}) |