diff options
| author | Egor Tensin <egor@tensin.name> | 2026-06-06 19:26:09 +0200 |
|---|---|---|
| committer | Egor Tensin <egor@tensin.name> | 2026-06-06 19:26:09 +0200 |
| commit | 820d62a127539b60d748d4aed5bc6c33d2ecf352 (patch) | |
| tree | 72fb8fec78f594ba62a736612492e73f6c73d97b /test/examples/boost | |
| parent | split some development info into DEVELOPMENT.md (diff) | |
| download | cmake-common-820d62a127539b60d748d4aed5bc6c33d2ecf352.tar.gz cmake-common-820d62a127539b60d748d4aed5bc6c33d2ecf352.zip | |
test/examples: update CMake versions
Diffstat (limited to 'test/examples/boost')
| -rw-r--r-- | test/examples/boost/CMakeLists.txt | 5 |
1 files changed, 3 insertions, 2 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) |
