commit | 3cb48721e608b17e1336bfb320f05636231ff3ad | [log] [tgz] |
---|---|---|
author | Petr Hosek <phosek@chromium.org> | Wed Jan 30 23:18:05 2019 +0000 |
committer | Copybara-Service <copybara-worker@google.com> | Thu Aug 27 18:31:29 2020 -0700 |
tree | a25b023df361ccc270dc386462f4882b6f5b5d2b | |
parent | f7f9532a4c95e77ff309791ff36cfaf5031e8745 [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: 352688 GitOrigin-RevId: 8e7891544642c1326737c92be68edd1c90e7a660