mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 13:54:21 +00:00
cmake: CLANG_LIBRARIES: find libclang-cpp.so.18.1
This fixes the failure to find CLANG_LIBRARIES on debian, which packages the relevant .so file at these paths: libclang-cpp18: /usr/lib/llvm-18/lib/libclang-cpp.so.18.1 libclang-cpp18: /usr/lib/x86_64-linux-gnu/libclang-cpp.so.18.1 libclang-cpp18: /usr/lib/x86_64-linux-gnu/libclang-cpp.so.18 (The latter two paths are symlinks to the first.)
This commit is contained in:
parent
5d2bf96c02
commit
cf939b096a
1 changed files with 1 additions and 0 deletions
|
|
@ -18,6 +18,7 @@ if(${LLVM_LINK_MODE} STREQUAL "shared")
|
||||||
find_library(CLANG_LIBRARIES
|
find_library(CLANG_LIBRARIES
|
||||||
NAMES
|
NAMES
|
||||||
libclang-cpp.so.18
|
libclang-cpp.so.18
|
||||||
|
libclang-cpp.so.18.1
|
||||||
clang-cpp-18.0
|
clang-cpp-18.0
|
||||||
clang-cpp180
|
clang-cpp180
|
||||||
clang-cpp
|
clang-cpp
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue