From: Thomas Jarosch Date: Thu, 1 Aug 2024 12:47:26 +0000 (+0200) Subject: Set minimum cmake version to 3.28 X-Git-Tag: v2.12~1 X-Git-Url: http://developer.intra2net.com/git/?a=commitdiff_plain;h=0d43d1b559b38a420bae01fafb8751d8d71572a4;p=libi2ncommon 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. --- 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}")