cmake: allow shared llvm linking

This commit is contained in:
Alexandre Bouvier
2022-11-28 00:06:31 +01:00
committed by merry
parent 63ebed5760
commit 4bf4d6565e
2 changed files with 8 additions and 4 deletions

View File

@@ -139,9 +139,6 @@ endif()
if (DYNARMIC_USE_LLVM)
find_package(LLVM REQUIRED CONFIG)
include_directories(${LLVM_INCLUDE_DIRS})
add_definitions(-DDYNARMIC_USE_LLVM ${LLVM_DEFINITIONS})
llvm_map_components_to_libnames(llvm_libs armdesc armdisassembler aarch64desc aarch64disassembler x86desc x86disassembler)
endif()
if (DYNARMIC_TESTS)