[PATCH] D52664: Update CMakeLists.txt snippet so that example compiles

Stephen Kelly via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 28 11:41:36 PDT 2018


steveire accepted this revision.
steveire added a comment.
This revision is now accepted and ready to land.

Yes, `add_llvm_executable` uses `target_link_libraries` with `PRIVATE` for `LLVM_PTHREAD_LIB`. It is designed so that if you use the `PUBLIC|PRIVATE|INTERFACE` keyword with a target once, you have to do it at each location.


Repository:
  rC Clang

https://reviews.llvm.org/D52664





More information about the cfe-commits mailing list