From e519d1072b2ffca1cd59a91e170d961387a8a6d0 Mon Sep 17 00:00:00 2001 From: Sabeel Ansari <35787514+5abeel@users.noreply.github.com> Date: Wed, 26 Feb 2025 13:00:52 -0600 Subject: [PATCH] Bumping all references to CMake minimum req to v3.16 (#751) * Bumping all references to CMake minimum req to v3.16 Signed-off-by: Sabeel Ansari * Ping krnlmon SHA Signed-off-by: Sabeel Ansari --------- Signed-off-by: Sabeel Ansari --- CMakeLists.txt | 2 +- clients/p4rt-ctl/CMakeLists.txt | 4 ++-- ovs/CMakeLists.txt | 6 +++--- protobufs/CMakeLists.txt | 6 +++--- stratum/CMakeLists.txt | 6 +++--- stratum/stratum | 2 +- 6 files changed, 13 insertions(+), 13 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a5dbed01..f0d07758 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,7 +4,7 @@ # SPDX-License-Identifier: Apache 2.0 # -# CMake version 3.16 is the baseline for P4 Control Plane. +# CMake version 3.16 is the baseline for P4 Control Plane cmake_minimum_required(VERSION 3.16) project(networking-recipe VERSION 3.5.0 LANGUAGES C CXX) diff --git a/clients/p4rt-ctl/CMakeLists.txt b/clients/p4rt-ctl/CMakeLists.txt index 3f0df0ca..c17a9582 100644 --- a/clients/p4rt-ctl/CMakeLists.txt +++ b/clients/p4rt-ctl/CMakeLists.txt @@ -1,9 +1,9 @@ # Build file for p4rt-ctl. # -# Copyright 2022-2023 Intel Corporation +# Copyright 2022-2025 Intel Corporation # SPDX-License-Identifier: Apache 2.0 # -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.16) # Define PYTHON3 variable. find_program(PYTHON3 python3) diff --git a/ovs/CMakeLists.txt b/ovs/CMakeLists.txt index 48a7d8ea..50c461d3 100644 --- a/ovs/CMakeLists.txt +++ b/ovs/CMakeLists.txt @@ -1,11 +1,11 @@ # CMake build file for Open vSwitch # -# Copyright 2022-2024 Intel Corporation +# Copyright 2022-2025 Intel Corporation # SPDX-License-Identifier: Apache 2.0 # -# Version 3.15 is the baseline for P4 Control Plane. -cmake_minimum_required(VERSION 3.15) +# CMake version 3.16 is the baseline for P4 Control Plane +cmake_minimum_required(VERSION 3.16) project(ovs LANGUAGES C) diff --git a/protobufs/CMakeLists.txt b/protobufs/CMakeLists.txt index 37201839..bd54eef2 100644 --- a/protobufs/CMakeLists.txt +++ b/protobufs/CMakeLists.txt @@ -1,12 +1,12 @@ # -# Copyright 2023-2024 Intel Corporation +# Copyright 2023-2025 Intel Corporation # SPDX-License-Identifier: Apache 2.0 # # Compile p4runtime protobufs for supported languages. # -# Version 3.15 is the baseline for P4 Control Plane. -cmake_minimum_required(VERSION 3.15) +# CMake version 3.16 is the baseline for P4 Control Plane +cmake_minimum_required(VERSION 3.16) project(protobufs VERSION 2024.8.0 LANGUAGES CXX) diff --git a/stratum/CMakeLists.txt b/stratum/CMakeLists.txt index e9d21f4f..a8a0ed69 100644 --- a/stratum/CMakeLists.txt +++ b/stratum/CMakeLists.txt @@ -1,11 +1,11 @@ # CMake build file for Stratum code. # -# Copyright 2022-2024 Intel Corporation +# Copyright 2022-2025 Intel Corporation # SPDX-License-Identifier: Apache 2.0 # -# Version 3.15 is the baseline for P4 Control Plane. -cmake_minimum_required(VERSION 3.15) +# CMake version 3.16 is the baseline for P4 Control Plane +cmake_minimum_required(VERSION 3.16) ############################# # Symbolic path definitions # diff --git a/stratum/stratum b/stratum/stratum index da3964e0..0177cccf 160000 --- a/stratum/stratum +++ b/stratum/stratum @@ -1 +1 @@ -Subproject commit da3964e0248343189b6371ed327e3f2add2e241d +Subproject commit 0177cccf9799c96d83bbde85ba2dca76c8e91bb6