mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-26 21:32:10 +00:00
[CMake] Add dependencies to gtest.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201079 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
bf6f7a713f
commit
ac27d7151c
@ -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)
|
||||
|
@ -1,3 +1,9 @@
|
||||
add_llvm_library(gtest_main
|
||||
TestMain.cpp
|
||||
)
|
||||
|
||||
# Depends on llvm::cl
|
||||
target_link_libraries(gtest_main
|
||||
gtest
|
||||
LLVMSupport
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user