From 21898df27902fa556f19507a12a55f399c93828a Mon Sep 17 00:00:00 2001 From: donghui <549136742@qq.com> Date: Mon, 17 Feb 2025 05:59:25 +0000 Subject: [PATCH] remove wrong copyright and comment the copyright is belong to MMKV and below comment is used for Android Signed-off-by: donghui <549136742@qq.com> --- .../src/main/cpp/mqtt_napi/CMakeLists.txt | 30 ------------------- 1 file changed, 30 deletions(-) diff --git a/ohos_Mqtt/src/main/cpp/mqtt_napi/CMakeLists.txt b/ohos_Mqtt/src/main/cpp/mqtt_napi/CMakeLists.txt index 076f245..10a9452 100644 --- a/ohos_Mqtt/src/main/cpp/mqtt_napi/CMakeLists.txt +++ b/ohos_Mqtt/src/main/cpp/mqtt_napi/CMakeLists.txt @@ -1,28 +1,6 @@ -# -# Tencent is pleased to support the open source community by making -# MMKV available. -# -# Copyright (C) 2019 THL A29 Limited, a Tencent company. -# All rights reserved. -# -# Licensed under the BSD 3-Clause License (the "License"); you may not use -# this file except in compliance with the License. You may obtain a copy of -# the License at -# -# https://opensource.org/licenses/BSD-3-Clause -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - # Sets the minimum version of CMake required to build the native library. - cmake_minimum_required(VERSION 3.4.1) - set(can_use_assembler TRUE) enable_language(ASM) IF("${OHOS_ARCH}" STREQUAL "arm64-v8a") @@ -30,16 +8,8 @@ IF("${OHOS_ARCH}" STREQUAL "arm64-v8a") SET(CMAKE_ASM_FLAGS "${CFLAGS} ${ASM_OPTIONS} -march=armv8+crypto -D__OHOS__") ENDIF() - - project(mqtt_napi) -# Creates and names a library, sets it as either STATIC -# or SHARED, and provides the relative paths to its source code. -# You can define multiple libraries, and CMake builds them for you. -# Gradle automatically packages shared libraries with your APK. - - add_library(mqtt_napi STATIC base_context.cpp -- Gitee