commit | f3b941ddd5a0814eb6aa6caa432c3dc90dfddeb9 | [log] [tgz] |
---|---|---|
author | Petr Hosek <phosek@chromium.org> | Wed Jan 30 19:27:26 2019 +0000 |
committer | Copybara-Service <copybara-worker@google.com> | Fri Aug 28 11:11:30 2020 -0700 |
tree | 7784abcdb4d97bf31e05e4d052f8eca4a780823e | |
parent | fe22635e6c212140119966d0cd70d46215480dc6 [diff] |
[CMake] Use correct visibility for linked libraries in CMake When linking library dependencies, we shouldn't need to export linked libraries to dependents. We should be explicit about this in target_link_libraries, otherwise other targets that depend on these such as sanitizers get repeated (and possibly even conflicting) dependencies. Differential Revision: https://reviews.llvm.org/D57456 llvm-svn: 352654 GitOrigin-RevId: b9128d8def879775838876af43592da01ecbc18d