mirror of
https://github.com/libAthena/athena.git
synced 2025-06-06 06:33:42 +00:00
Actually need to link LLVMWindowsDriver
This commit is contained in:
parent
88b0ed137c
commit
cee01a8df1
@ -54,10 +54,10 @@ else()
|
|||||||
|
|
||||||
# Add LLVM static libs
|
# Add LLVM static libs
|
||||||
list(APPEND CLANG_LIBS clangTooling)
|
list(APPEND CLANG_LIBS clangTooling)
|
||||||
if (LLVM_VERSION_MAJOR GREATER_EQUAL 15)
|
|
||||||
list(APPEND CLANG_LIBS clangSupport)
|
|
||||||
endif ()
|
|
||||||
list(APPEND LLVM_LIBS LLVMFrontendOpenMP LLVMOption)
|
list(APPEND LLVM_LIBS LLVMFrontendOpenMP LLVMOption)
|
||||||
|
if (LLVM_VERSION_MAJOR GREATER_EQUAL 15)
|
||||||
|
list(APPEND LLVM_LIBS LLVMWindowsDriver)
|
||||||
|
endif ()
|
||||||
# Remove LLVM dynamic library from Clang dependencies
|
# Remove LLVM dynamic library from Clang dependencies
|
||||||
foreach (lib ${CLANG_LIBS})
|
foreach (lib ${CLANG_LIBS})
|
||||||
recursive_remove_library(${lib} LLVM)
|
recursive_remove_library(${lib} LLVM)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user