title: How to include libgit2 via cmake
body: <p>How can i include libgit2 as a library in cmake.
  I have cloned the libgit2 repository from github.
  than I ran</p>
  
  <pre><code>mkdir build &amp;&amp; cd build
  cmake ..
  make
  sudo make install
  </code></pre>
  
  <p>Than I found the installed files under /usr/local/include/git2/ and /usr/local/include.</p>
  
  <p>what do I have to put in my cmake file now?</p>