From 8f90bdf90c0f98f639bcff6c49d8da80ad4b31ea Mon Sep 17 00:00:00 2001 From: Daniel Bermond Date: Sun, 6 Jul 2025 07:48:05 -0300 Subject: [PATCH] Add compatibility with CMake 4.0 (#103) Starting at CMake 4.0, the minimum required policy version is 3.5.0[1], either specified by 'cmake_minimum_required()' or by 'cmake_policy()'. This also applies to individual policies when they are set, which must match 3.5.0 or later policies. [1] https://cmake.org/cmake/help/v4.0/command/cmake_minimum_required.html --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d34519e..727218e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.1) +cmake_minimum_required(VERSION 3.5) project(qhotkey VERSION 1.5.0