Skip to content

Commit

Permalink
Fix LLVM 18 linking.
Browse files Browse the repository at this point in the history
  • Loading branch information
elliottslaughter committed Jun 19, 2024
1 parent ca711ab commit d0feb9d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmake/Modules/FindClang.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ FIND_AND_ADD_CLANG_LIB(clangBasic)
if(LLVM_VERSION_MAJOR GREATER 14)
FIND_AND_ADD_CLANG_LIB(clangSupport)
endif()
if(LLVM_VERSION_MAJOR GREATER 17)
FIND_AND_ADD_CLANG_LIB(clangAPINotes)
endif()

find_path(CLANG_INCLUDE_DIRS clang/Basic/Version.h HINTS ${LLVM_INCLUDE_DIRS})

Expand Down

0 comments on commit d0feb9d

Please sign in to comment.