title: how to disable gcc warning "cc1: warning: command line option ‘-std=c++11’ is valid for C++/ObjC++ but not for C [enabled by default]"
body: <p>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 </p>
  
  <p><code>cc1: warning: command line option ‘-std=c++11’ is valid for C++/ObjC++ but not for C [enabled by default]</code></p>
  
  <p>I want wither to suppress the warning or to solve the issue in the cmake file.
  Unfortunately, I still haven't found the correct <code>-Wno-xxx</code> statement that fits here.</p>
  
  <p>Thanks!</p>