Skip to content

Commit 4ca6284

Browse files
committed
Update minimum cmake to 3.16
1 parent 09c533b commit 4ca6284

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Distributed under the MIT License (http://opensource.org/licenses/MIT)
44
#
55

6-
cmake_minimum_required(VERSION 3.2.0)
6+
cmake_minimum_required(VERSION 3.16)
77

88
project(vitasdk)
99

patches/zlib.patch

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
diff --git a/CMakeLists.txt b/CMakeLists.txt
2-
index b412dc7..a62204a 100644
2+
index b412dc7..7e847ee 100644
33
--- a/CMakeLists.txt
44
+++ b/CMakeLists.txt
5+
@@ -1,4 +1,4 @@
6+
-cmake_minimum_required(VERSION 2.4.4)
7+
+cmake_minimum_required(VERSION 3.16)
8+
set(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS ON)
9+
10+
project(zlib C)
511
@@ -189,25 +189,3 @@ endif()
612
if(NOT SKIP_INSTALL_FILES AND NOT SKIP_INSTALL_ALL )
713
install(FILES ${ZLIB_PC} DESTINATION "${INSTALL_PKGCONFIG_DIR}")

0 commit comments

Comments
 (0)