update cmake files to LLVM 17

This commit is contained in:
Andrew Kelley
2023-08-10 17:08:59 -07:00
parent ee4ced9683
commit 3882ce4f4b
4 changed files with 28 additions and 28 deletions

View File

@@ -17,9 +17,9 @@ find_path(CLANG_INCLUDE_DIRS NAMES clang/Frontend/ASTUnit.h
if(${LLVM_LINK_MODE} STREQUAL "shared")
find_library(CLANG_LIBRARIES
NAMES
libclang-cpp.so.16
clang-cpp-16.0
clang-cpp160
libclang-cpp.so.17
clang-cpp-17.0
clang-cpp170
clang-cpp
NAMES_PER_DIR
HINTS "${LLVM_LIBDIRS}"