aboutsummaryrefslogtreecommitdiff
path: root/ports/mapnik/usage
diff options
context:
space:
mode:
Diffstat (limited to 'ports/mapnik/usage')
-rw-r--r--ports/mapnik/usage9
1 files changed, 9 insertions, 0 deletions
diff --git a/ports/mapnik/usage b/ports/mapnik/usage
new file mode 100644
index 000000000..3bd0f4a01
--- /dev/null
+++ b/ports/mapnik/usage
@@ -0,0 +1,9 @@
+The package mapnik provides CMake targets:
+
+ find_package(mapnik CONFIG REQUIRED)
+ target_link_libraries(main PRIVATE mapnik::mapnik mapnik::json mapnik::wkt)
+
+If you only need the compile definitions without any sources, use target mapnik::core.
+
+If any plugins were installed, the variable ${MAPNIK_PLUGINS_DIR} contains the plugin directory
+Fonts are available with the variable ${MAPNIK_FONTS_DIR}