[all-commits] [llvm/llvm-project] cac8cd: [clang] [unittest/AST] Fix linking to LLVMTestingS...

Michał Górny via All-commits all-commits at lists.llvm.org
Fri May 1 12:28:43 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: cac8cd0a16e9c0410e33aaca93c760c503eeb68e
      https://github.com/llvm/llvm-project/commit/cac8cd0a16e9c0410e33aaca93c760c503eeb68e
  Author: Michał Górny <mgorny at gentoo.org>
  Date:   2020-05-01 (Fri, 01 May 2020)

  Changed paths:
    M clang/unittests/AST/CMakeLists.txt

  Log Message:
  -----------
  [clang] [unittest/AST] Fix linking to LLVMTestingSupport

Link to LLVMTestingSupport via target_link_libraries() instead of
clang_target_link_libraries().  The latter is ineffective if tests
are linked to libclang.so.  This solution is consistent with what other
tests do.




More information about the All-commits mailing list