diff options
author | Tom Stellard <tstellar@redhat.com> | 2022-11-09 11:32:26 -0800 |
---|---|---|
committer | Tom Stellard <tstellar@redhat.com> | 2022-11-09 11:34:59 -0800 |
commit | 8a084f68c8a1cac99d9fa0fbcf490b53ab3b6e0c (patch) | |
tree | 4ef61837d65f15256f4344c04f13a07503c7f17c /lldb/cmake | |
parent | 0b01aebf5e658f3a9c026b194e7d60c0aa7066de (diff) | |
download | llvm-8a084f68c8a1cac99d9fa0fbcf490b53ab3b6e0c.tar.gz |
Revert "Move googletest to the third-party directory"
This reverts commit 59052468c3e38cab15582cefbb5133fd4c2ffce5.
It looks like this patch breaks the build when compiler-rt is passed to
LLVM_ENABLE_PROJECTS instead of LLVM_ENABLE_RUNTIMES.
Diffstat (limited to 'lldb/cmake')
-rw-r--r-- | lldb/cmake/modules/LLDBStandalone.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/cmake/modules/LLDBStandalone.cmake b/lldb/cmake/modules/LLDBStandalone.cmake index ce16f558012c..3ce63f12eef3 100644 --- a/lldb/cmake/modules/LLDBStandalone.cmake +++ b/lldb/cmake/modules/LLDBStandalone.cmake @@ -100,8 +100,8 @@ include_directories( if(LLDB_INCLUDE_TESTS) # Build the gtest library needed for unittests, if we have LLVM sources # handy. - if (EXISTS ${LLVM_THIRD_PARTY_DIR}/unittest AND NOT TARGET llvm_gtest) - add_subdirectory(${LLVM_THIRD_PARTY_DIR}}/utils/unittest third-party/unittest) + if (EXISTS ${LLVM_MAIN_SRC_DIR}/utils/unittest AND NOT TARGET llvm_gtest) + add_subdirectory(${LLVM_MAIN_SRC_DIR}/utils/unittest utils/unittest) endif() # LLVMTestingSupport library is needed for Process/gdb-remote. if (EXISTS ${LLVM_MAIN_SRC_DIR}/lib/Testing/Support |