mirror of
https://github.com/Cateners/tiny_computer.git
synced 2026-05-21 00:45:49 +08:00
Microphone support
This commit is contained in:
11
android/app/src/main/cpp/CMakeLists.txt
Normal file
11
android/app/src/main/cpp/CMakeLists.txt
Normal file
@@ -0,0 +1,11 @@
|
||||
cmake_minimum_required(VERSION 3.18.1)
|
||||
project("native-socket")
|
||||
|
||||
# 添加库
|
||||
add_library(native-socket SHARED native-socket.cpp)
|
||||
|
||||
# 链接日志库
|
||||
find_library(log-lib log)
|
||||
|
||||
# 指定目标属性
|
||||
target_link_libraries(native-socket ${log-lib})
|
||||
Reference in New Issue
Block a user