From dd8fd6437e73a91ca6d0d7ccd0beac36066eb14e Mon Sep 17 00:00:00 2001 From: Amir Ayupov Date: Tue, 15 Nov 2022 14:44:32 -0800 Subject: [PATCH] [BOLT-TESTS] Follow-up to D131919 googletest was moved to third-party. Update path in BOLT's CMakeCache. Reviewed By: #bolt, maksfb Differential Revision: https://reviews.llvm.org/D138066 --- bolt/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bolt/CMakeLists.txt b/bolt/CMakeLists.txt index 32175d9..5c85fef 100644 --- a/bolt/CMakeLists.txt +++ b/bolt/CMakeLists.txt @@ -76,7 +76,7 @@ add_subdirectory(lib) add_subdirectory(tools) if (BOLT_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 BOLT_TEST_DEPS BoltUnitTests) endif() -- 2.7.4