mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 20:17:54 +08:00
6 lines
233 B
Plaintext
6 lines
233 B
Plaintext
|
The package libxml2 is compatible with built-in CMake targets:
|
||
|
|
||
|
find_package(LibXml2 REQUIRED)
|
||
|
target_include_directories(main PRIVATE ${LIBXML2_INCLUDE_DIR})
|
||
|
target_link_libraries(main PRIVATE ${LIBXML2_LIBRARIES})
|