From 9c3cb299d08649b43ccbb93a94163ebe9505c064 Mon Sep 17 00:00:00 2001
From: zuoxiao <470321431@qq.com>
Date: 星期一, 19 八月 2024 09:49:04 +0800
Subject: [PATCH] 优化代码
---
henanlibrary/CMakeLists.txt | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/henanlibrary/CMakeLists.txt b/henanlibrary/CMakeLists.txt
index f8e6e8b..9a81693 100644
--- a/henanlibrary/CMakeLists.txt
+++ b/henanlibrary/CMakeLists.txt
@@ -11,13 +11,13 @@
# Gradle automatically packages shared libraries with your APK.
add_library( # Sets the name of the library.
- native-lib
+ henan-native-lib
# Sets the library as a shared library.
SHARED
# Provides a relative path to your source file(s).
- src/main/cpp/native-lib.cpp )
+ src/main/cpp/henan-native-lib.cpp )
# Searches for a specified prebuilt library and stores the path as a
# variable. Because CMake includes system libraries in the search path by
@@ -37,7 +37,7 @@
# build script, prebuilt third-party libraries, or system libraries.
target_link_libraries( # Specifies the target library.
- native-lib
+ henan-native-lib
# Links the target library to the log library
# included in the NDK.
--
Gitblit v1.8.0