you can fix this FTBFS by changing the version of cmake in the 3 files in test/cmake/*.cmake
-cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.25) works for me -- 3.5 is apparently no longer supported by cmake. bookworm has cmake version 3.25