diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2014-01-31 17:32:46 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2014-01-31 17:32:46 +0000 |
commit | 1089c2c9baefb6cfff8e0688a25ee4033ba33aa5 (patch) | |
tree | e45eb13a8e2fcf0d74a8d9bd238e76b5ad382d72 /CMakeLists.txt | |
parent | 773f200d1f7a73fa34867c80164fa971d5ff10cc (diff) | |
download | llvm-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
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 5 |
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 |