title: Include static libsimple2d.a using cmake
body: <p>I have downloaded and built the simple2d library using make &amp;&amp; make install on OSX 10.13.4.</p>
  
  <p>I was able to get my program to compile and link using the command line <code>g++ `simple2d --libs` main.cpp</code></p>
  
  <p>However I cannot figure out how to get it to work with CMake I have added the line <code>target_link_libraries(Pacman /usr/local/lib/libsimple2d.a)</code> But I get an error Undefined symbols for architecture x86_64 when trying to build</p>