From bc6a48c405b674a2f56464207c460affe8fb5a25 Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Fri, 6 Jul 2018 23:34:16 -0700 Subject: [PATCH] clang+llvm libs --- cmake/FindClang.cmake | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/cmake/FindClang.cmake b/cmake/FindClang.cmake index 4fd60949..bb758d18 100644 --- a/cmake/FindClang.cmake +++ b/cmake/FindClang.cmake @@ -70,7 +70,11 @@ set(_Clang_REQUIRED_VARS Clang_LIBRARY Clang_INCLUDE_DIR Clang_EXECUTABLE _Clang_find_library(Clang_LIBRARY clang) _Clang_find_add_library(clangFrontend) +_Clang_find_add_library(clangParse) _Clang_find_add_library(clangSerialization) +_Clang_find_add_library(clangSema) +_Clang_find_add_library(clangAnalysis) +_Clang_find_add_library(clangEdit) _Clang_find_add_library(clangAST) _Clang_find_add_library(clangLex) _Clang_find_add_library(clangDriver) @@ -78,6 +82,8 @@ _Clang_find_add_library(clangBasic) if(USE_SHARED_LLVM) _Clang_find_add_library(LLVM) else() + _Clang_find_add_library(LLVMMCParser) + _Clang_find_add_library(LLVMMC) _Clang_find_add_library(LLVMBitReader) _Clang_find_add_library(LLVMOption) _Clang_find_add_library(LLVMProfileData)