In my project, I have to set compiler options differently for fmt because just using "g++ -g" triggers a compiler bug:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118315
I have tested for GCC 12.2.0, 13.3.0 and 14.2.
It is related to issue and commit:
#2193
35c71ff