I am new to cmake and gcc. The first assignment in my new role in the company was to clean the errors from our linux compilation I did most of it, and now the only warning I see is
cc1: warning: command line option ‘-std=c++11’ is valid for C++/ObjC++ but not for C [enabled by default]
I want wither to suppress the warning or to solve the issue in the cmake file.
Unfortunately, I still haven't found the correct -Wno-xxx
statement that fits here.
Thanks!