title: ld: library not found for -lclangRewrite
body: <p>The following error occurs when I am building <a href="https://github.com/EOSIO/eos" rel="nofollow noreferrer">eos</a> using cmake on macOS.</p>
  
  <pre><code>ld: library not found for -lclangRewrite
  clang: error: linker command failed with exit code 1 (use -v to see invocation)
  make[2]: *** [programs/abi_gen/abi_gen] Error 1
  make[1]: *** [programs/abi_gen/CMakeFiles/abi_gen.dir/all] Error 2
  make[1]: *** Waiting for unfinished jobs....
  [ 74%] Built target eos_chain
  make: *** [all] Error 2
  </code></pre>
  
  <p>I find some related issues, but they are seemingly all about ios and xcode and I don't know what I should do in a project like eos. How can I fix it?</p>