diff options
author | Tom Stellard <tstellar@redhat.com> | 2022-11-09 08:51:34 -0800 |
---|---|---|
committer | Tom Stellard <tstellar@redhat.com> | 2022-11-09 15:28:08 -0800 |
commit | a11cd0d94ed3cabf0998a0289aead05da94c86eb (patch) | |
tree | 05b60cadfa87d1ea28f1da657ea7931fc32f94c8 /clang/CMakeLists.txt | |
parent | 3538ca3f1b61e72bdfb8d62215c2d5de802c493f (diff) | |
download | llvm-a11cd0d94ed3cabf0998a0289aead05da94c86eb.zip llvm-a11cd0d94ed3cabf0998a0289aead05da94c86eb.tar.gz llvm-a11cd0d94ed3cabf0998a0289aead05da94c86eb.tar.bz2 |
Move googletest to the third-party directory
Rre-commit of 59052468c3e38cab15582cefbb5133fd4c2ffce5 with a typo
fix in compiler-rt/CMakeLists.txt
Diffstat (limited to 'clang/CMakeLists.txt')
-rw-r--r-- | clang/CMakeLists.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/CMakeLists.txt b/clang/CMakeLists.txt index 8763cc0..c9f86d4 100644 --- a/clang/CMakeLists.txt +++ b/clang/CMakeLists.txt @@ -111,11 +111,11 @@ if(CLANG_BUILT_STANDALONE) set(LLVM_UTILS_PROVIDED ON) set(CLANG_TEST_DEPS FileCheck count 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() endif() @@ -526,7 +526,7 @@ endif() if( CLANG_INCLUDE_TESTS ) - if(EXISTS ${LLVM_MAIN_SRC_DIR}/utils/unittest/googletest/include/gtest/gtest.h) + if(EXISTS ${LLVM_THIRD_PARTY_DIR}/unittest/googletest/include/gtest/gtest.h) add_subdirectory(unittests) list(APPEND CLANG_TEST_DEPS ClangUnitTests) list(APPEND CLANG_TEST_PARAMS |