[all-commits] [llvm/llvm-project] 412139: [clang-tools-extra] Fix linking dylib for LLVMFron...

Michał Górny via All-commits all-commits at lists.llvm.org
Wed Dec 18 13:33:41 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 4121399c12292ef445cc3be6ea15c5316ac17d16
      https://github.com/llvm/llvm-project/commit/4121399c12292ef445cc3be6ea15c5316ac17d16
  Author: Michał Górny <mgorny at gentoo.org>
  Date:   2019-12-18 (Wed, 18 Dec 2019)

  Changed paths:
    M clang-tools-extra/clang-tidy/openmp/CMakeLists.txt

  Log Message:
  -----------
  [clang-tools-extra] Fix linking dylib for LLVMFrontendOpenMP

Use LLVM_LINK_COMPONENTS to link the FrontendOpenMP library
instead of passing it explicitly to LINK_LIBS.  This fixes duplicating
the library when clang-tidy is linked to LLVM dylib.

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




More information about the All-commits mailing list