[all-commits] [llvm/llvm-project] f0403c: Fix build of Lex unit test with CLANG_DYLIB

Jonas Hahnfeld via All-commits all-commits at lists.llvm.org
Mon Sep 12 04:50:22 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f0403c853bc93fe1127fef7493a4feff1479191e
      https://github.com/llvm/llvm-project/commit/f0403c853bc93fe1127fef7493a4feff1479191e
  Author: Jonas Hahnfeld <hahnjo at hahnjo.de>
  Date:   2022-09-12 (Mon, 12 Sep 2022)

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

  Log Message:
  -----------
  Fix build of Lex unit test with CLANG_DYLIB

If CLANG_LINK_CLANG_DYLIB, clang_target_link_libraries ignores all
indivial libraries and only links clang-cpp. As LLVMTestingSupport
is separate, pass it via target_link_libraries directly.




More information about the All-commits mailing list