From 03e88cf6ec092e736fc415bfd3a212aadcb0c3ba Mon Sep 17 00:00:00 2001 From: "A.M. Rowsell" Date: Fri, 13 Feb 2026 14:03:43 -0500 Subject: [PATCH] Raise CMake minimum version to 3.20 --- CMakeLists.txt | 2 +- op25/gr-op25/CMakeLists.txt | 2 +- op25/gr-op25_repeater/CMakeLists.txt | 3 +-- op25/gr-op25_repeater/lib/imbe_vocoder/CMakeLists.txt | 2 +- 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 29001da0..9c878855 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ ######################################################################## # Project setup ######################################################################## -cmake_minimum_required(VERSION 2.6) +cmake_minimum_required(VERSION 3.20) project(gr-op25 CXX C) enable_testing() diff --git a/op25/gr-op25/CMakeLists.txt b/op25/gr-op25/CMakeLists.txt index 660957f8..b58c8693 100644 --- a/op25/gr-op25/CMakeLists.txt +++ b/op25/gr-op25/CMakeLists.txt @@ -14,7 +14,7 @@ set(CMAKE_BUILD_TYPE "Release" CACHE STRING "") ######################################################################## # Project setup ######################################################################## -cmake_minimum_required(VERSION 3.8) +cmake_minimum_required(VERSION 3.20) project(gr-op25 CXX C) enable_testing() diff --git a/op25/gr-op25_repeater/CMakeLists.txt b/op25/gr-op25_repeater/CMakeLists.txt index b9f5e364..5406acc2 100644 --- a/op25/gr-op25_repeater/CMakeLists.txt +++ b/op25/gr-op25_repeater/CMakeLists.txt @@ -14,7 +14,7 @@ set(CMAKE_BUILD_TYPE "Release" CACHE STRING "") ######################################################################## # Project setup ######################################################################## -cmake_minimum_required(VERSION 3.8) +cmake_minimum_required(VERSION 3.20) project(gr-op25_repeater CXX C) enable_testing() @@ -150,4 +150,3 @@ configure_package_config_file( ${CMAKE_CURRENT_BINARY_DIR}/cmake/Modules/${target}Config.cmake INSTALL_DESTINATION ${GR_CMAKE_DIR} ) - diff --git a/op25/gr-op25_repeater/lib/imbe_vocoder/CMakeLists.txt b/op25/gr-op25_repeater/lib/imbe_vocoder/CMakeLists.txt index 89a53c09..8022e481 100644 --- a/op25/gr-op25_repeater/lib/imbe_vocoder/CMakeLists.txt +++ b/op25/gr-op25_repeater/lib/imbe_vocoder/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 2.6) +cmake_minimum_required(VERSION 3.20) SET( MORE_FLAGS "-fPIC") SET( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${MORE_FLAGS}" )