atdna: Link clangSupport for LLVM >=15

This commit is contained in:
Luke Street 2023-05-29 09:08:27 -04:00
parent 50991752f8
commit 88b0ed137c
1 changed files with 3 additions and 0 deletions

View File

@ -54,6 +54,9 @@ else()
# Add LLVM static libs
list(APPEND CLANG_LIBS clangTooling)
if (LLVM_VERSION_MAJOR GREATER_EQUAL 15)
list(APPEND CLANG_LIBS clangSupport)
endif ()
list(APPEND LLVM_LIBS LLVMFrontendOpenMP LLVMOption)
# Remove LLVM dynamic library from Clang dependencies
foreach (lib ${CLANG_LIBS})