Skip to content

Commit 2730f4d

Browse files
committed
Update cmake preferred version to 4.0.0
1 parent fe39323 commit 2730f4d

File tree

13 files changed

+6
-19
lines changed

13 files changed

+6
-19
lines changed

1k/build.profiles

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ axslcc=1.9.6+
1010

1111
# The cmake, @gradle @axmol-cmdline
1212
# as latest as possible
13-
cmake=3.30.0~3.31.5+
13+
cmake=3.30.0~4.0.0+
1414

1515
# The ninja
1616
ninja=1.10.0~1.12.1+

1k/fetch.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# _1kfetch_cache_dir
55
# _1kfetch_manifest
66
#
7-
cmake_minimum_required(VERSION 3.23)
7+
cmake_minimum_required(VERSION 3.23...4.0)
88

99
### 1kdist url
1010
find_program(PWSH_PROG NAMES pwsh powershell NO_PACKAGE_ROOT_PATH NO_CMAKE_PATH NO_CMAKE_ENVIRONMENT_PATH NO_CMAKE_SYSTEM_PATH NO_CMAKE_FIND_ROOT_PATH)

3rdparty/chipmunk/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cmake_minimum_required(VERSION 3.10)
1+
cmake_minimum_required(VERSION 3.10...4.0)
22

33
project(chipmunk)
44

3rdparty/freetype/CMakeLists.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,9 +108,8 @@
108108
# (this is compatible with the same CMake variables in zlib's CMake
109109
# support).
110110

111-
# To minimize the number of cmake_policy() workarounds,
112-
# CMake >= 3 is requested.
113-
cmake_minimum_required(VERSION 3.0...3.5)
111+
# CMake 3.12 provides for IMPORTED targets for common libraries like zlib, libpng and bzip2
112+
cmake_minimum_required(VERSION 3.12)
114113

115114
if (NOT CMAKE_VERSION VERSION_LESS 3.3)
116115
# Allow symbol visibility settings also on static libraries. CMake < 3.3

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828
# build engine library and all tests
2929

30-
cmake_minimum_required(VERSION 3.22)
30+
cmake_minimum_required(VERSION 3.22...4.0)
3131

3232
project(axmol)
3333

extensions/Effekseer/3rdParty/LLGI/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
cmake_minimum_required(VERSION 3.12)
2-
31
# The project's name
42
project(LLGI)
53

extensions/Effekseer/3rdParty/LLGI/src/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
cmake_minimum_required(VERSION 3.0.0)
21
project(LLGI)
32

43
file(GLOB files *.h *.cpp)

extensions/Effekseer/CMakeLists.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@
22
# The project's name
33
project(Effekseer)
44

5-
# Check cmake version
6-
cmake_minimum_required(VERSION 3.1)
7-
85
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
96
include(FilterFolder)
107

extensions/Effekseer/Effekseer/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
project(Effekseer)
2-
cmake_minimum_required(VERSION 3.1)
32

43
FIND_PACKAGE(Threads REQUIRED)
54

extensions/Effekseer/EffekseerRendererCommon/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
project(EffekseerRendererCommon)
2-
cmake_minimum_required(VERSION 3.1)
32

43
if(BUILD_UNITYPLUGIN OR BUILD_UNITYPLUGIN_FOR_IOS)
54

0 commit comments

Comments
 (0)