Skip to content

Commit

Permalink
Fixed linking with LLVM17 on MSVC
Browse files Browse the repository at this point in the history
  • Loading branch information
bkryza committed Dec 11, 2023
1 parent 079758e commit 8ae47dd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmake/LLVMSetup.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,9 @@ else(LINK_LLVM_SHARED)
LLVMWindowsDriver
LLVMWindowsManifest)
endif()
if(${LLVM_PACKAGE_VERSION} VERSION_GREATER_EQUAL "17.0")
list(APPEND LIBTOOLING_LIBS clangASTMatchers)
endif()
endif(MSVC)
endif(LINK_LLVM_SHARED)

Expand Down

0 comments on commit 8ae47dd

Please sign in to comment.