git://developer.intra2net.com
/
libi2ncommon
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
6c22e27
)
Set minimum cmake version to 3.28
author
Thomas Jarosch
<thomas.jarosch@intra2net.com>
Thu, 1 Aug 2024 12:47:26 +0000 (14:47 +0200)
committer
Thomas Jarosch
<thomas.jarosch@intra2net.com>
Thu, 1 Aug 2024 13:00:32 +0000 (15:00 +0200)
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
patch
|
blob
|
blame
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index
a1751bc
..
8529c0d
100644
(file)
--- 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}")