From 4b0d50e3ba39d5160a0d6ad07b862bda106a2509 Mon Sep 17 00:00:00 2001 From: Denis Fateyev Date: Sun, 12 Jul 2026 00:59:33 +0500 Subject: [PATCH] Require CMake 3.5 policy version CMake 4.0 dropped compatibility with policies older than 3.5, so cmake_minimum_required(VERSION 2.8) no longer configures (FTBFS). Raise the floor to 3.5 and use the range syntax to opt into modern policy behavior without breaking older CMake. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 247971e..92cf177 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -CMAKE_MINIMUM_REQUIRED(VERSION 2.8) +CMAKE_MINIMUM_REQUIRED(VERSION 3.5...4.0) PROJECT(smtpping) SET(TARGET_NAME "smtpping")