diff options
author | Tom Stellard <tstellar@redhat.com> | 2022-11-09 19:51:34 +0300 |
---|---|---|
committer | Tom Stellard <tstellar@redhat.com> | 2022-11-10 02:28:08 +0300 |
commit | a11cd0d94ed3cabf0998a0289aead05da94c86eb (patch) | |
tree | 05b60cadfa87d1ea28f1da657ea7931fc32f94c8 /lld | |
parent | 3538ca3f1b61e72bdfb8d62215c2d5de802c493f (diff) |
Move googletest to the third-party directory
Rre-commit of 59052468c3e38cab15582cefbb5133fd4c2ffce5 with a typo
fix in compiler-rt/CMakeLists.txt
Diffstat (limited to 'lld')
-rw-r--r-- | lld/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lld/CMakeLists.txt b/lld/CMakeLists.txt index 21a33c9425a0..99f284e2e226 100644 --- a/lld/CMakeLists.txt +++ b/lld/CMakeLists.txt @@ -68,11 +68,11 @@ if(LLD_BUILT_STANDALONE) set(LLVM_UTILS_PROVIDED ON) set(LLD_TEST_DEPS FileCheck not) endif() - set(UNITTEST_DIR ${LLVM_MAIN_SRC_DIR}/utils/unittest) + set(UNITTEST_DIR ${LLVM_THIRD_PARTY_DIR}/unittest) if(EXISTS ${UNITTEST_DIR}/googletest/include/gtest/gtest.h AND NOT EXISTS ${LLVM_LIBRARY_DIR}/${CMAKE_STATIC_LIBRARY_PREFIX}gtest${CMAKE_STATIC_LIBRARY_SUFFIX} AND EXISTS ${UNITTEST_DIR}/CMakeLists.txt) - add_subdirectory(${UNITTEST_DIR} utils/unittest) + add_subdirectory(${UNITTEST_DIR} third-party/unittest) endif() else() # Seek installed Lit. |