summaryrefslogtreecommitdiffstatshomepage
path: root/test/examples/boost/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/examples/boost/CMakeLists.txt')
-rw-r--r--test/examples/boost/CMakeLists.txt5
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)