Displaying 1 result from an estimated 1 matches for "fd1a048".
Did you mean:
ed1ac48
2013 Dec 29
2
[LLVMdev] [PATCH] Prevent CMake from installing libgtest*.
...s and not installed
as a global system library. And even if it were, the install doesn't
belong to LLVM but to a dedicated gtest package.
---
utils/unittest/CMakeLists.txt | 3 +++
1 file changed, 3 insertions(+)
diff --git a/utils/unittest/CMakeLists.txt b/utils/unittest/CMakeLists.txt
index fd1a048..c11c110 100644
--- a/utils/unittest/CMakeLists.txt
+++ b/utils/unittest/CMakeLists.txt
@@ -38,6 +38,9 @@ if(MSVC AND MSVC_VERSION EQUAL 1700)
add_definitions(-D_VARIADIC_MAX=10)
endif ()
+# Delay building until the tests pull it in, and avoid installing it.
+set(EXCLUDE_FROM_ALL ON)
+
add_l...