search for: msvc_version

Displaying 1 result from an estimated 1 matches for "msvc_version".

2013 Dec 29
2
[LLVMdev] [PATCH] Prevent CMake from installing libgtest*.
...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_llvm_library(gtest googletest/src/gtest-all.cc ) -- 1.8.5.2