[CMake] Add dependencies to gtest.

llvm-svn: 201079
This commit is contained in:
NAKAMURA Takumi 2014-02-10 11:27:41 +00:00
parent 883a2f893d
commit 0dc73dfdf4
2 changed files with 11 additions and 0 deletions

View File

@ -42,4 +42,9 @@ add_llvm_library(gtest
googletest/src/gtest-all.cc
)
# Depends on llvm::raw_ostream
target_link_libraries(gtest
LLVMSupport
)
add_subdirectory(UnitTestMain)

View File

@ -1,3 +1,9 @@
add_llvm_library(gtest_main
TestMain.cpp
)
# Depends on llvm::cl
target_link_libraries(gtest_main
gtest
LLVMSupport
)