title: Problems with lcurl in CLion
body: <p>i'm new in CLion and i want to improve my skills in libcurl. I have installed libcurl4-openssl-dev on Ubuntu 15.04. My CMakeLists.txt:</p>
  
  <pre class="lang-cpp prettyprint-override"><code>cmake_minimum_required(VERSION 3.3)
  project(test)
  
  
  set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -lcurl")
  set(SOURCE_FILES main.cpp)
  add_executable(test ${SOURCE_FILES}) 
  </code></pre>
  
  <p>But when i try this: </p>
  
  <pre class="lang-cpp prettyprint-override"><code>#include &lt;iostream&gt;
  #include &lt;curl/curl.h&gt;
  #include &lt;string&gt;
  
  using namespace std;
  
  int main() 
  {
      CURL *curl;
      CURLcode result;
      curl = curl_easy_init();
      return 0;
  }
  </code></pre>
  
  <p>He shows me such error:</p>
  
  <pre><code>/home/me/ClionProjects/test/main.cpp:10: undefined reference to `curl_easy_init'
  </code></pre>
  
  <p>Help me please, 
  Thanks</p>