fix(build): libstdc++-12 support
Description
Currently, libstdc++-12
(that come with gcc-12) is not supported. This is problematic as, even if you don't use gcc-12, it is used by default with clang, making the build of sight impossible.
Steps to reproduce
-
sudo apt install g++-12
-
CC=/usr/bin/clang CXX=/usr/bin/clang++ cmake ....
Proposal
Fix the build problem. This should be very limited, noting fancy here...
Test plan
Let the CI build.
Test with gcc-11 / gcc-12 / clang-14...