mirror of https://github.com/libAthena/athena.git
atdna: Link clangSupport for LLVM >=15
This commit is contained in:
parent
50991752f8
commit
88b0ed137c
|
@ -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})
|
||||
|
|
Loading…
Reference in New Issue