I have figured out a fix (the issue was in detecting what flags were needed to use std::filesystem, my conclusion is: with gcc11+, tell CMake C++17 or it will misbehave), and an updated package will be available soon pending sponsorship.
OpenPGP_signature
Description: OpenPGP digital signature