[all-commits] [llvm/llvm-project] 34033d: [clangd] Use clang_target_link_libraries() for cla...

Nikita Popov via All-commits all-commits at lists.llvm.org
Mon Jun 10 23:08:25 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 34033dc1610982570328b39a38596a9968e3c7b2
      https://github.com/llvm/llvm-project/commit/34033dc1610982570328b39a38596a9968e3c7b2
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

  Changed paths:
    M clang-tools-extra/clangd/index/remote/CMakeLists.txt
    M clang-tools-extra/pseudo/lib/CMakeLists.txt
    M clang-tools-extra/pseudo/lib/cxx/CMakeLists.txt

  Log Message:
  -----------
  [clangd] Use clang_target_link_libraries() for clang libs (#94937)

Use clang_target_link_libraries() instead of LINK_LIBS when linking
clang libraries. This ensures that in CLANG_LINK_CLANG_DYLIB mode we
link against libclang-cpp.so (instead of linking against both it and the
static libraries).

Most places were already doing this correctly, there were just a handful
of leftovers.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list