[all-commits] [llvm/llvm-project] dde05b: [third-party] Respect LLVM_INSTALL_GTEST for llvm_...

Michał Górny via All-commits all-commits at lists.llvm.org
Mon Mar 13 09:12:10 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dde05b4b91321c97463f42927986e9e8dcc8ce94
      https://github.com/llvm/llvm-project/commit/dde05b4b91321c97463f42927986e9e8dcc8ce94
  Author: Michał Górny <mgorny at gentoo.org>
  Date:   2023-03-13 (Mon, 13 Mar 2023)

  Changed paths:
    M third-party/unittest/UnitTestMain/CMakeLists.txt

  Log Message:
  -----------
  [third-party] Respect LLVM_INSTALL_GTEST for llvm_gtest_main

Pass BUILDTREE_ONLY to llvm_gtest_main only if LLVM_INSTALL_GTEST
is not set.  This fixes 0807986303f5d498cee32d42c242940d00617ad9.
Otherwise, llvm_gtest_main cannot be used
in LLVM_DISTRIBUTION_COMPONENTS, effectively making it impossible
to install llvm_gtest correctly.

Differential Revision: https://reviews.llvm.org/D145946




More information about the All-commits mailing list