title: CMake library not found
body: <p>
  I try to run the makefile that using cmake produced. It generate an error </p>
  
  <pre><code>ld: library not found for -lhello
  clang: error: linker command failed with exit code 1 (use -v to see invocation)
  </code></pre>
  
  <p>
  the file directory is:
  <a href="https://i.stack.imgur.com/6v0op.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/6v0op.png" alt="enter image description here"></a></p>
  
  <p>the cmakelists.txt is:
  <a href="https://i.stack.imgur.com/Iek7E.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Iek7E.png" alt="enter image description here"></a></p>
  
  <p>the main.c file is:
  <a href="https://i.stack.imgur.com/gzFCN.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/gzFCN.png" alt="enter image description here"></a></p>
  
  <p>the ERROR:
  <a href="https://i.stack.imgur.com/Exry8.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Exry8.png" alt="enter image description here"></a>
  
  I think I set the right directory. How to solve this ERROR? 
  </p>