From 19026c580d56a42a427374069418b55e06c4f212 Mon Sep 17 00:00:00 2001 From: Daniil Date: Sun, 28 Apr 2024 11:33:52 +0300 Subject: [PATCH] cmake: Fix "deprecated version compatibility" warning - Add version `...` suffix to mark that the project does not need compatibility with older versions --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 61c1e59..c762cd4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.1) +cmake_minimum_required(VERSION 3.1...3.28) # Extract version from configure.ac. set(VERSION_REGEX "^AC_INIT\\(\\[libconfig\\],[ \t]*\\[([0-9.]+)\\],.*")