summaryrefslogtreecommitdiff
path: root/polly
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 11:10:26 -0800
commit59052468c3e38cab15582cefbb5133fd4c2ffce5 (patch)
treea8998d8386daf3d6a1302f25039128c2c422a274 /polly
parent4d5a9c1d171b1b86deb2030e37b31ab2ec9d1dd0 (diff)
downloadllvm-59052468c3e38cab15582cefbb5133fd4c2ffce5.tar.gz
Move googletest to the third-party directory
This will help improve the project's layering, so that sub-projects that don't actually need any llvm code can still use googletest without having to reference code in the llvm directory. This will also make it easier to consolidate and simplify the standalone build configurations. Reviewed By: stellaraccident, lattner, probinson, phosek Differential Revision: https://reviews.llvm.org/D131919
Diffstat (limited to 'polly')
-rw-r--r--polly/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/polly/CMakeLists.txt b/polly/CMakeLists.txt
index 2e906fdd8fc7..aa992decc422 100644
--- a/polly/CMakeLists.txt
+++ b/polly/CMakeLists.txt
@@ -28,10 +28,10 @@ if(POLLY_STANDALONE_BUILD)
# Enable unit tests if available.
set(POLLY_GTEST_AVAIL 0)
- set(UNITTEST_DIR ${LLVM_SOURCE_ROOT}/utils/unittest)
+ set(UNITTEST_DIR ${LLVM_THIRD_PARTY_DIR}/unittest)
if(EXISTS ${UNITTEST_DIR}/googletest/include/gtest/gtest.h)
if (NOT TARGET gtest)
- add_subdirectory(${UNITTEST_DIR} utils/unittest)
+ add_subdirectory(${UNITTEST_DIR} third-party/unittest)
endif()
set(POLLY_GTEST_AVAIL 1)
endif()