[all-commits] [llvm/llvm-project] c95196: GetClangResourceDir: Fix downstream projects that ...

Tom Stellard via All-commits all-commits at lists.llvm.org
Wed Jul 5 20:10:58 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c951960e65961d19cfca9996bf8ab96155805256
      https://github.com/llvm/llvm-project/commit/c951960e65961d19cfca9996bf8ab96155805256
  Author: Tom Stellard <tstellar at redhat.com>
  Date:   2023-07-05 (Wed, 05 Jul 2023)

  Changed paths:
    M cmake/Modules/GetClangResourceDir.cmake

  Log Message:
  -----------
  GetClangResourceDir: Fix downstream projects that bundle llvm source

A project that bundles the llvm source code may have their own
PACKAGE_VERSION variable, so only use this to compute the
CLANG_RESOURCE_DIR if CLANG_VERSION_MAJOR is undefined.

Reviewed By: sebastian-ne

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




More information about the All-commits mailing list