From 296389639261dd31559d1e9d409781a6776cb5d8 Mon Sep 17 00:00:00 2001 From: Rob Loach Date: Sun, 4 Oct 2026 01:08:50 -0400 Subject: [PATCH] Require CMake 3.10 for CMake 4 support --- CMakeLists.txt | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8a66d287..59c0b82a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,8 +1,6 @@ -cmake_minimum_required(VERSION 2.8) +cmake_minimum_required(VERSION 3.10) -if(NOT ${CMAKE_VERSION} VERSION_LESS "3.1") - cmake_policy(SET CMP0054 NEW) -endif() +cmake_policy(SET CMP0054 NEW) project(chaiscript)