Skip to content

Commit 1692717

Browse files
Use a range for CMake minimum versions, 3.2...3.12: support CMake 4.0
CMake 4.0 drops support for CMake <3.5, so minimum versions need to be adjusted for forward compatibility. Since CMake <3.10 is already deprecated, and 3.12 is the first “modern” CMake release, let’s support policy versions up to 3.12. https://cmake.org/cmake/help/latest/command/cmake_minimum_required.html
1 parent 7fa7aa3 commit 1692717

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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.2)
1+
cmake_minimum_required(VERSION 3.2...3.12)
22
project(earcut_hpp LANGUAGES CXX C)
33

44
option(EARCUT_BUILD_TESTS "Build the earcut test program" ON)

0 commit comments

Comments
 (0)