SyntaxFix
Write A Post
Hire A Developer
Questions
The easiest solution working fine for me is this:
export CFLAGS=-ggdb export CXXFLAGS=-ggdb
CMake will append them to all configurations' flags. Just make sure to clear CMake cache.