From 0d43d1b559b38a420bae01fafb8751d8d71572a4 Mon Sep 17 00:00:00 2001 From: Thomas Jarosch Date: Thu, 1 Aug 2024 14:47:26 +0200 Subject: [PATCH] Set minimum cmake version to 3.28 Probably a lower version would do but it's the current version we have on the Intra2net system. Solves one deprecation warning from Cmake. --- CMakeLists.txt | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a1751bc..8529c0d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,3 +1,5 @@ +cmake_minimum_required(VERSION 3.28 FATAL_ERROR) + # Project project(libi2ncommon) @@ -11,7 +13,6 @@ if("${CMAKE_BUILD_TYPE}" STREQUAL "") set(CMAKE_BUILD_TYPE Debug) endif("${CMAKE_BUILD_TYPE}" STREQUAL "") set(CMAKE_COLOR_MAKEFILE ON) -cmake_minimum_required(VERSION 2.6 FATAL_ERROR) # Debug build message("-- Build type: ${CMAKE_BUILD_TYPE}") -- 1.7.1