According to docs, I have following cmake project
cmake_minimum_required(VERSION 3.5)
project(teeest LANGUAGES CXX)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
find_package(LLVM REQUIRED)
find_package(Clang REQUIRED)
add_executable(teeest main.cpp)
target_link_libraries(teeest
PRIVATE
clangAST
clangFrontend
clangTooling
)
but when I try to build the project, I get follwing error
/usr/bin/ld: cannot find -lclangAST
/usr/bin/ld: cannot find -lclangFrontend
/usr/bin/ld: cannot find -lclangTooling
I have install llvm package from archlinux's repository