From 74157555d59517fb753d5d3cd475bccb34cfcdd2 Mon Sep 17 00:00:00 2001 From: Oliver Freyermuth Date: Sat, 18 Oct 2025 18:46:43 +0200 Subject: [PATCH] CMake: synchronize cmake_minimum_required from main CMakeLists.txt The examples have been using older cmake_minimum_required, given support for versions <3.10 is deprecated since 3.31, synchronize the minimum required version from the main CMakeLists.txt (version 3.14) into examples and tests. closes #397 --- example/CMakeLists.txt | 2 +- example/traits/CMakeLists.txt | 2 +- tests/cmake/CMakeLists.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/example/CMakeLists.txt b/example/CMakeLists.txt index 3f87f424e..6406dc247 100644 --- a/example/CMakeLists.txt +++ b/example/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.8) +cmake_minimum_required(VERSION 3.14) project(jwt-cpp-examples) if(NOT TARGET jwt-cpp) diff --git a/example/traits/CMakeLists.txt b/example/traits/CMakeLists.txt index 4734fabc7..9ee8d658b 100644 --- a/example/traits/CMakeLists.txt +++ b/example/traits/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.8) +cmake_minimum_required(VERSION 3.14) project(jwt-cpp-traits) if(NOT TARGET jwt-cpp) diff --git a/tests/cmake/CMakeLists.txt b/tests/cmake/CMakeLists.txt index 500e05c68..40d9791dc 100644 --- a/tests/cmake/CMakeLists.txt +++ b/tests/cmake/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.8) +cmake_minimum_required(VERSION 3.14) project(jwt-cpp-installation-tests) set(TEST CACHE STRING "The test source file to be used")