title: How to change include dirs, library dirs and libraries with CLion
body: <p>In CLion, how can I specify the include directories where the C++ compiler will look for header files? Also, how do I setup the libraries to link against, and their library directories?</p>
  
  <p>Currently I'm doing those tasks modifying directly the file <code>CMakeLists.txt</code>:</p>
  
  <pre><code>include_directories(/opt/netcdf/include)
  link_directories(/opt/netcdf/lib)
  link_libraries(netcdf)
  </code></pre>
  
  <p>But I wonder if it is possible to accomplish the same thing using the GUI.</p>
  
  <p>Thanks</p>