-
-
Notifications
You must be signed in to change notification settings - Fork 415
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
snappy: fix build under android ndk r27.
- Loading branch information
1 parent
97dba76
commit a67c168
Showing
3 changed files
with
27 additions
and
1 deletion.
There are no files selected for viewing
File renamed without changes.
25 changes: 25 additions & 0 deletions
25
packages/s/snappy/patches/fix-build-under-android-ndk-r27.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
From 3adc68d24e6d9546d871e7e57615a0fb30d92af3 Mon Sep 17 00:00:00 2001 | ||
From: Redbeanw44602 <[email protected]> | ||
Date: Fri, 3 Jan 2025 12:11:56 +0800 | ||
Subject: [PATCH] fix build under android ndk-r27 | ||
|
||
--- | ||
CMakeLists.txt | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
index b1d072c..89b5509 100644 | ||
--- a/CMakeLists.txt | ||
+++ b/CMakeLists.txt | ||
@@ -26,7 +26,7 @@ | ||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
|
||
-cmake_minimum_required(VERSION 3.1) | ||
+cmake_minimum_required(VERSION 3.3) | ||
project(Snappy VERSION 1.2.1 LANGUAGES C CXX) | ||
|
||
# C++ standard can be overridden when this is used as a sub-project. | ||
-- | ||
2.47.1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters