title: How to stop CMake from linking against libstdc++
body: <p>I have a very simple CMakeLists.txt for a C++ project, which builds a shared library:</p>
  
  <pre><code>add_library(foo SHARED
      ${HDR_PUBLIC}
      ${SOURCES})
  </code></pre>
  
  <p>When linking the library, CMake automatically uses -lstdc++. How can I stop it from doing this?</p>