I'm using GLAD on my project, and building everything with cmake.
Since this is an external library and not my code, I'd like to completely suppress its warnings during build time, because I get a ton of these:
warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic]
glad_glCullFace = ( PFNGLCULLFACEPROC ) load ( "glCullFace" );
^
How can I do it? I can either just include it in my sources, or do an add_library with GLAD's sources, don't mind either way.
Thanks