Skip to content

Commit b1766a1

Browse files
authored
build: support cmake 4.0 (#1214)
bump `cmake_minimum_required` to support cmake 4.0 build ``` CMake Error at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 has been removed from CMake. ```
2 parents 7578965 + 6276e52 commit b1766a1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

c2rust-ast-exporter/src/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.4.3)
1+
cmake_minimum_required(VERSION 3.5)
22
project(ASTExporter)
33

44
#################################################

examples/json-c/repo/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#Licensed under the MIT license. See LICENSE file in the project root for full license information.
22

3-
cmake_minimum_required(VERSION 2.8.7)
3+
cmake_minimum_required(VERSION 3.5)
44
cmake_policy(SET CMP0048 NEW)
55
project(json-c VERSION 0.13.1)
66

0 commit comments

Comments
 (0)