5 lines
167 B
Text
5 lines
167 B
Text
|
The package libxml2 is compatible with built-in CMake targets:
|
||
|
|
||
|
find_package(LibXml2 CONFIG REQUIRED)
|
||
|
target_link_libraries(main PRIVATE LibXml2::LibXml2)
|