summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2014-01-31 17:32:46 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2014-01-31 17:32:46 +0000
commit1089c2c9baefb6cfff8e0688a25ee4033ba33aa5 (patch)
treee45eb13a8e2fcf0d74a8d9bd238e76b5ad382d72
parent773f200d1f7a73fa34867c80164fa971d5ff10cc (diff)
downloadllvm-1089c2c9baefb6cfff8e0688a25ee4033ba33aa5.tar.gz
llvm-1089c2c9baefb6cfff8e0688a25ee4033ba33aa5.tar.bz2
llvm-1089c2c9baefb6cfff8e0688a25ee4033ba33aa5.tar.xz
[CMake] Move libgtest for external projects.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200558 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--CMakeLists.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7cfcdc9709..a741f3a6aa 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -472,6 +472,10 @@ add_subdirectory(utils/not)
add_subdirectory(utils/llvm-lit)
add_subdirectory(utils/yaml-bench)
+if(LLVM_INCLUDE_TESTS)
+ add_subdirectory(utils/unittest)
+endif()
+
add_subdirectory(projects)
if( LLVM_INCLUDE_TOOLS )
@@ -484,7 +488,6 @@ endif()
if( LLVM_INCLUDE_TESTS )
add_subdirectory(test)
- add_subdirectory(utils/unittest)
add_subdirectory(unittests)
if (MSVC)
# This utility is used to prevent crashing tests from calling Dr. Watson on