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)