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.)
1 files changed, 1 insertions(+), 0 deletions(-)
cmake
cmake/Findclang.cmake+1
| ... | ... | @@ -18,6 +18,7 @@ if(${LLVM_LINK_MODE} STREQUAL "shared") |
| 18 | 18 | find_library(CLANG_LIBRARIES |
| 19 | 19 | NAMES |
| 20 | 20 | libclang-cpp.so.18 |
| 21 | libclang-cpp.so.18.1 |
| 21 | 22 | clang-cpp-18.0 |
| 22 | 23 | clang-cpp180 |
| 23 | 24 | clang-cpp |