<html>
<head>
<base href="https://llvm.org/bugs/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW " title="NEW --- - llvm_map_components_to_libnames(XXX all) includes gtest and gtest_main" href="https://urldefense.proofpoint.com/v2/url?u=https-3A__llvm.org_bugs_show-5Fbug.cgi-3Fid-3D23967&d=AwMBaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=pF93YEPyB-J_PERP4DUZOJDzFVX5ZQ57vQk33wu0vio&m=wDyyF7I7Gh5cm-8DClMBvIe9ydtAVO95KVxX2wRlRVU&s=cTCrvs5j8_dc1SoGQg_3_ryERgy2gk5CAajtz5tlAYs&e=">23967</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>llvm_map_components_to_libnames(XXX all) includes gtest and gtest_main
</td>
</tr>
<tr>
<th>Product</th>
<td>Build scripts
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>cmake
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>dan@su-root.co.uk
</td>
</tr>
<tr>
<th>CC</th>
<td>llvmbugs@cs.uiuc.edu
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>I have noticed that when using ``llvm_map_components_to_libnames(...)`` that
when the component is specified as ``all`` the ``gtest`` and ``gtest_main``
targets are includes which is wrong. These are not LLVM libraries and worse
when we actually install LLVM somewhere these libraries are not shipped which
can cause link failures in a project that consumes the exported LLVM targets if
they don't have gtest on their system.
I'm working on a fix now.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>