Fixed selection of targets

This commit is contained in:
Alexey Milovidov 2019-12-19 19:49:32 +03:00
parent 70a365f2d3
commit 814690e26f
2 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,6 @@ LLVMMCParser
LLVMMC LLVMMC
LLVMBinaryFormat LLVMBinaryFormat
LLVMDebugInfoCodeView LLVMDebugInfoCodeView
LLVMOption
LLVMSupport LLVMSupport
LLVMDemangle LLVMDemangle
) )

View File

@ -247,6 +247,7 @@ if (USE_EMBEDDED_COMPILER AND USE_INTERNAL_LLVM_LIBRARY)
endif () endif ()
set (LLVM_ENABLE_EH 1 CACHE INTERNAL "") set (LLVM_ENABLE_EH 1 CACHE INTERNAL "")
set (LLVM_ENABLE_RTTI 1 CACHE INTERNAL "") set (LLVM_ENABLE_RTTI 1 CACHE INTERNAL "")
set (LLVM_TARGETS_TO_BUILD "X86;AArch64" CACHE STRING "")
add_subdirectory (llvm/llvm) add_subdirectory (llvm/llvm)
endif () endif ()