diff options
| -rw-r--r-- | test/examples/boost/CMakeLists.txt | 5 | ||||
| -rw-r--r-- | test/examples/simple/CMakeLists.txt | 3 |
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) |
