title: using a custom compiler flag in cmake?
body: <p>I'm trying to compile some code I found on GitHub <a href="https://github.com/tapio/Wendy" rel="nofollow">https://github.com/tapio/Wendy</a>
  I'm just trying to compile the stuff in tests/. I never had any experience with cmake, but they're kinda logical anyway.</p>
  
  <p>I got stuck at the part where cmake does this:</p>
  
  <pre><code>   /usr/bin/c++       CMakeFiles/clear.dir/clear.o  -o clear -rdynamic -lwendy -lglfw -lGLEW -lglm -lz 
  </code></pre>
  
  <p>and gets this error:</p>
  
  <pre><code>   Linking CXX executable clear
     /usr/bin/ld: cannot find -lwendy
     /usr/bin/ld: cannot find -lglm
     collect2: ld returned 1 exit status
     make[3]: *** [clear] Error 1
     make[2]: *** [CMakeFiles/clear.dir/all] Error 2
     make[1]: *** [CMakeFiles/clear.dir/rule] Error 2
     make: *** [clear] Error 2
  </code></pre>
  
  <p>I don't understand how the Wendy and glm folder became a compiler flag. Somebody please explain how this is possible. :(</p>