title: c++: error: unrecognized command line option ‘-std=c++14’
body: <p>I just moved my PC from Ubuntu 15.10 to Linux Mint 17.3.</p>
  
  <p>Before this shift, this project compiled just fine in CLion. Now, it gives the following error:</p>
  
  <blockquote>
    <p>c++: error: unrecognized command line option ‘-std=c++14’</p>
  </blockquote>
  
  <p>This is probably due to this line in my CMake file:</p>
  
  <pre><code>set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14 -W -Wall -Wextra -pedantic")
  </code></pre>
  
  <p>I suspect this error is due to some outdated library/compiler. I don't know exactly what I need to do.</p>
  
  <p>P.S.: I know that C++14 is not completely supported in CLion, and the editor will complain about syntax errors, but it will compile fine nonetheless.</p>