Skip to content

Commit 1b12ea9

Browse files
committed
build: bump CMake
I'd like to use C++23, which is supported as a CXX_STANDARD since CMake 3.20. At the same time, GitHub CI is sunsetting the Ubuntu 20.04 builders this year, and Ubuntu 22.04 ships with CMake 3.22. Let's upgrade. Change-Id: I2252f5d6522938dfb78d3402326b240a30329cc8
1 parent 7519fcd commit 1b12ea9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# Written by Václav Kubernát <kubernat@cesnet.cz>
55
#
66

7-
cmake_minimum_required(VERSION 3.19)
7+
cmake_minimum_required(VERSION 3.22)
88
project(libyang-cpp LANGUAGES CXX)
99
set(CMAKE_CXX_STANDARD 20)
1010
set(CMAKE_CXX_STANDARD_REQUIRED ON)

0 commit comments

Comments
 (0)