Control: tags -1 + patch

The attached patch from Gentoo was applied in Ubuntu.
You can apply it if you want to.
Description: Fix build with Boost 1.89
Origin: gentoo, https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3bf0b1bad939e60a33d7a8bfdccced10c7550ca3
Bug-Debian: https://bugs.debian.org/1127026
Author: Holger Hoffstätte <[email protected]>
Last-Update: 2025-09-16

--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -58,7 +58,11 @@
 
 include(FindBoost)
 find_package(Boost REQUIRED
-             COMPONENTS filesystem system iostreams program_options regex)
+             COMPONENTS filesystem iostreams program_options regex)
+if(Boost_MAJOR_VERSION EQUAL 1 AND Boost_MINOR_VERSION LESS 69)
+  list(APPEND BOOST_REQUIRED_COMPONENTS system)
+  find_package(Boost REQUIRED COMPONENTS ${BOOST_REQUIRED_COMPONENTS})
+endif()
 
 # HEADER CHECKS
 include(CheckIncludeFileCXX)

Reply via email to