aboutsummaryrefslogtreecommitdiff
path: root/ports/libxml2/usage
diff options
context:
space:
mode:
Diffstat (limited to 'ports/libxml2/usage')
-rw-r--r--ports/libxml2/usage5
1 files changed, 5 insertions, 0 deletions
diff --git a/ports/libxml2/usage b/ports/libxml2/usage
new file mode 100644
index 000000000..fd94c4b4e
--- /dev/null
+++ b/ports/libxml2/usage
@@ -0,0 +1,5 @@
+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})