From 38092102bbec9f57b781a29b381b7bed36295578 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)