summaryrefslogtreecommitdiff
path: root/lldb/cmake
diff options
context:
space:
mode:
authorTom Stellard <tstellar@redhat.com>2022-11-09 08:51:34 -0800
committerTom Stellard <tstellar@redhat.com>2022-11-09 15:28:08 -0800
commita11cd0d94ed3cabf0998a0289aead05da94c86eb (patch)
tree05b60cadfa87d1ea28f1da657ea7931fc32f94c8 /lldb/cmake
parent3538ca3f1b61e72bdfb8d62215c2d5de802c493f (diff)
downloadllvm-a11cd0d94ed3cabf0998a0289aead05da94c86eb.tar.gz
Move googletest to the third-party directory
Rre-commit of 59052468c3e38cab15582cefbb5133fd4c2ffce5 with a typo fix in compiler-rt/CMakeLists.txt
Diffstat (limited to 'lldb/cmake')
-rw-r--r--lldb/cmake/modules/LLDBStandalone.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/cmake/modules/LLDBStandalone.cmake b/lldb/cmake/modules/LLDBStandalone.cmake
index 3ce63f12eef3..ce16f558012c 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_MAIN_SRC_DIR}/utils/unittest AND NOT TARGET llvm_gtest)
- add_subdirectory(${LLVM_MAIN_SRC_DIR}/utils/unittest utils/unittest)
+ if (EXISTS ${LLVM_THIRD_PARTY_DIR}/unittest AND NOT TARGET llvm_gtest)
+ add_subdirectory(${LLVM_THIRD_PARTY_DIR}}/utils/unittest third-party/unittest)
endif()
# LLVMTestingSupport library is needed for Process/gdb-remote.
if (EXISTS ${LLVM_MAIN_SRC_DIR}/lib/Testing/Support