aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2026-06-06 19:26:09 +0200
committerEgor Tensin <egor@tensin.name>2026-06-06 19:26:09 +0200
commit820d62a127539b60d748d4aed5bc6c33d2ecf352 (patch)
tree72fb8fec78f594ba62a736612492e73f6c73d97b
parentsplit some development info into DEVELOPMENT.md (diff)
downloadcmake-common-820d62a127539b60d748d4aed5bc6c33d2ecf352.tar.gz
cmake-common-820d62a127539b60d748d4aed5bc6c33d2ecf352.zip
test/examples: update CMake versions
Diffstat (limited to '')
-rw-r--r--test/examples/boost/CMakeLists.txt5
-rw-r--r--test/examples/simple/CMakeLists.txt3
2 files changed, 5 insertions, 3 deletions
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)