Actually need to link LLVMWindowsDriver

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

View File

@ -54,10 +54,10 @@ 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)
if (LLVM_VERSION_MAJOR GREATER_EQUAL 15)
list(APPEND LLVM_LIBS LLVMWindowsDriver)
endif ()
# Remove LLVM dynamic library from Clang dependencies
foreach (lib ${CLANG_LIBS})
recursive_remove_library(${lib} LLVM)