Skip to content

Commit f13691e

Browse files
Update cmake_minimum_required to 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. As long as we are touching the minimum version, let’s advance to 3.12, which can be considered the oldest “modern” CMake release, and which is available in all known supported Linux distributions today.
1 parent 7fa7aa3 commit f13691e

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.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)