diff options
author | Yehonal <yehonal.azeroth@gmail.com> | 2025-09-06 18:39:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-09-06 18:39:59 +0200 |
commit | 62be119760064fd2a8a1ba2f0df80b70961fdd05 (patch) | |
tree | a49aee36a5c0fafc08c65695378041b0692ef651 /deps | |
parent | d1b75f93f4c1256ee886ee551acc157c74548839 (diff) |
fix(CMake/Boost): package finding logic + suppress deprecation warnings + support Boost 1.89
Diffstat (limited to 'deps')
-rw-r--r-- | deps/boost/CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/deps/boost/CMakeLists.txt b/deps/boost/CMakeLists.txt index dd41c52a90..c41ce041a3 100644 --- a/deps/boost/CMakeLists.txt +++ b/deps/boost/CMakeLists.txt @@ -31,7 +31,8 @@ else() set(BOOST_REQUIRED_VERSION 1.74) endif() -find_package(Boost ${BOOST_REQUIRED_VERSION} REQUIRED system filesystem program_options iostreams regex) +# Boost.System is header-only since 1.69; do not require it explicitly. +find_package(Boost ${BOOST_REQUIRED_VERSION} REQUIRED COMPONENTS filesystem program_options iostreams regex) if(NOT Boost_FOUND) if(NOT DEFINED ENV{Boost_ROOT} AND NOT DEFINED Boost_DIR AND NOT DEFINED BOOST_ROOT AND NOT DEFINED BOOSTROOT) |