[CMake] Move libgtest for external projects.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200558 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
NAKAMURA Takumi 2014-01-31 17:32:46 +00:00
parent 773f200d1f
commit 1089c2c9ba

View File

@ -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