From 99699be9c5cce9d269e3461561465f98291c9f8a Mon Sep 17 00:00:00 2001 From: Edu Meneses Date: Thu, 9 Jul 2026 11:03:36 -0400 Subject: [PATCH] cmake: require Boost >= 1.90 The Godot binding (binding/godot/node.hpp) uses boost::pfr::get_name, which was introduced in Boost.PFR in 1.88 and is absent from earlier releases. Building against Boost 1.87 fails to compile the Godot back-end: binding/godot/node.hpp:70: error: 'get_name' is not a member of 'boost::pfr' Raising the minimum to 1.90 (per maintainer request) guarantees the required Boost.PFR name-reflection API is present. Verified: with Boost 1.91 the previously-failing sherpa_tts_NODE_godot target compiles and links cleanly. Co-Authored-By: Claude Opus 4.8 (1M context) Claude-Session: https://claude.ai/code/session_015Y1wf9JxscbkrSjJXH8oyd --- cmake/avendish.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/avendish.cmake b/cmake/avendish.cmake index 30d6513d..ae221d8a 100644 --- a/cmake/avendish.cmake +++ b/cmake/avendish.cmake @@ -56,7 +56,7 @@ function(_avnd_dispatch_backend backend) cmake_language(CALL "avnd_make_${backend}" ${ARGN}) endfunction() -find_package(Boost 1.87 QUIET REQUIRED) +find_package(Boost 1.90 QUIET REQUIRED) find_package(Threads QUIET) find_package(fmt QUIET)