mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-26 21:38:59 +08:00
6 lines
234 B
Plaintext
6 lines
234 B
Plaintext
|
The package clang provides CMake targets:
|
||
|
|
||
|
find_package(Clang CONFIG REQUIRED)
|
||
|
target_include_directories(main PRIVATE ${CLANG_INCLUDE_DIRS})
|
||
|
target_link_libraries(main PRIVATE clangBasic clangLex clangParse clangAST ...)
|