From 820d62a127539b60d748d4aed5bc6c33d2ecf352 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 6 Jun 2026 19:26:09 +0200 Subject: test/examples: update CMake versions --- test/examples/boost/CMakeLists.txt | 5 +++-- test/examples/simple/CMakeLists.txt | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'test') diff --git a/test/examples/boost/CMakeLists.txt b/test/examples/boost/CMakeLists.txt index 0e92e38..f25edf9 100644 --- a/test/examples/boost/CMakeLists.txt +++ b/test/examples/boost/CMakeLists.txt @@ -1,11 +1,12 @@ -cmake_minimum_required(VERSION 3.15) +# oldstable as of May '26. +cmake_minimum_required(VERSION 3.25) project(example_boost) set(CMAKE_CXX_STANDARD 11) set(CMAKE_CXX_STANDARD_REQUIRED ON) -find_package(Boost REQUIRED COMPONENTS filesystem) +find_package(Boost CONFIG REQUIRED COMPONENTS filesystem) add_executable(foo foo.cpp) target_link_libraries(foo PRIVATE Boost::disable_autolinking Boost::filesystem) diff --git a/test/examples/simple/CMakeLists.txt b/test/examples/simple/CMakeLists.txt index 50a588b..d15fdbe 100644 --- a/test/examples/simple/CMakeLists.txt +++ b/test/examples/simple/CMakeLists.txt @@ -1,4 +1,5 @@ -cmake_minimum_required(VERSION 3.15) +# oldstable as of May '26. +cmake_minimum_required(VERSION 3.25) project(example_simple) -- cgit v1.3