diff options
Diffstat (limited to 'third-party/unittest/CMakeLists.txt')
-rw-r--r-- | third-party/unittest/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/third-party/unittest/CMakeLists.txt b/third-party/unittest/CMakeLists.txt index 0e54e0e57c35..302e9e0e8440 100644 --- a/third-party/unittest/CMakeLists.txt +++ b/third-party/unittest/CMakeLists.txt @@ -38,6 +38,10 @@ if (HAVE_LIBPTHREAD) list(APPEND LIBS pthread) endif() +# Do not build unittest libraries automatically, they will be pulled in +# by unittests if these are built. +set(EXCLUDE_FROM_ALL ON) + add_llvm_library(llvm_gtest googletest/src/gtest-all.cc googlemock/src/gmock-all.cc |