mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-27 10:18:36 +00:00
[Runtimes] If LLVM_INCLUDE_TESTS=On depend on gtest
Summary: If we are building the tests for the runtimes we should make them depend on gtest so that gtest is built and ready before we run any of the check-* targets. Reviewers: phosek, compnerd Reviewed By: compnerd Subscribers: mgorny, winksaville, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D62269 llvm-svn: 361436
This commit is contained in:
parent
e3748b5a85
commit
ed00367961
@ -553,6 +553,8 @@ else() # if this is included from LLVM's CMake
|
||||
obj2yaml
|
||||
sancov
|
||||
sanstats
|
||||
gtest_main
|
||||
gtest
|
||||
)
|
||||
foreach(target ${test_targets} ${SUB_CHECK_TARGETS})
|
||||
add_dependencies(${target} ${RUNTIMES_TEST_DEPENDS})
|
||||
|
Loading…
Reference in New Issue
Block a user