<div dir="ltr">Patches should be sent to llvm-commits, and they should be attached rather than inline. <<a href="http://llvm.org/docs/DeveloperPolicy.html">http://llvm.org/docs/DeveloperPolicy.html</a>><div><br></div>
<div>-- Sean Silva</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Dec 29, 2013 at 11:38 AM, Michał Górny <span dir="ltr"><<a href="mailto:mgorny@gentoo.org" target="_blank">mgorny@gentoo.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">This library is intended to be used locally for tests and not installed<br>
as a global system library. And even if it were, the install doesn't<br>
belong to LLVM but to a dedicated gtest package.<br>
---<br>
 utils/unittest/CMakeLists.txt | 3 +++<br>
 1 file changed, 3 insertions(+)<br>
<br>
diff --git a/utils/unittest/CMakeLists.txt b/utils/unittest/CMakeLists.txt<br>
index fd1a048..c11c110 100644<br>
--- a/utils/unittest/CMakeLists.txt<br>
+++ b/utils/unittest/CMakeLists.txt<br>
@@ -38,6 +38,9 @@ if(MSVC AND MSVC_VERSION EQUAL 1700)<br>
   add_definitions(-D_VARIADIC_MAX=10)<br>
 endif ()<br>
<br>
+# Delay building until the tests pull it in, and avoid installing it.<br>
+set(EXCLUDE_FROM_ALL ON)<br>
+<br>
 add_llvm_library(gtest<br>
   googletest/src/gtest-all.cc<br>
   )<br>
<span class="HOEnZb"><font color="#888888">--<br>
1.8.5.2<br>
<br>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
</font></span></blockquote></div><br></div>