title: Linking curl in a project using CMake
body: <p>I don't have experience with C++, and only need to make a small adjustment to a C++ application to do a HTTP request to authenticate a user.</p>
  
  <p>Curlpp is an option, but when including the libraries I get an error on building:</p>
  
  <pre><code>Undefined symbols for architecture x86_64:
    "curlpp::OptionBase::OptionBase(CURLoption)", referenced from:
        app_idomsconnector::RTMPAppProtocolHandler::GetAuthPassword(std::string) in libidomsconnector.a(rtmpappprotocolhandler.cpp.o)
        curlpp::OptionTrait&lt;std::string, (CURLoption)10002&gt;::clone() const in libidomsconnector.a(rtmpappprotocolhandler.cpp.o)
  </code></pre>
  
  <p>As I understand I need to add/link the library in the CMAKELists.txt file. Can anybody tell me what exactly I need to add? (running OSX 10.8) As I mentioned, I have no experience with C++, as I use Java most of the time.</p>