Am Fri, Feb 06, 2026 at 11:33:29AM +0100 schrieb Markus Blatt:
Am Fri, Feb 06, 2026 at 11:26:56AM +0100 schrieb Markus Blatt:
I can trigger the same error with this simple CMakeLists.txt in an experimental
chroot with libboost-test1.90-dev installed
cmake_minimum_required(VERSION 3.32)
project(test CXX)
find_package(Boost COMPONENTS unit_test_framework)
The test works with libboost-test1.83-dev
and libboost-test1.88-dev as those do not have that lib listed as a dependency
in the cmake package configuration files:
# grep -r _BOOST_UNIT_TEST_FRAMEWORK_DEPS
/usr/lib/x86_64-linux-gnu/cmake/*boost*/*shared.cmake
/usr/lib/x86_64-linux-gnu/cmake/boost_unit_test_framework-1.88.0/libboost_unit_test_framework-variant-shared.cmake:list(APPEND
_BOOST_UNIT_TEST_FRAMEWORK_DEPS headers)
Markus