aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/mapnik/usage
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/mapnik/usage')
-rw-r--r--vcpkg/ports/mapnik/usage7
1 files changed, 7 insertions, 0 deletions
diff --git a/vcpkg/ports/mapnik/usage b/vcpkg/ports/mapnik/usage
new file mode 100644
index 0000000..4058304
--- /dev/null
+++ b/vcpkg/ports/mapnik/usage
@@ -0,0 +1,7 @@
+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, call the function `mapnik_find_plugin_dir(MAPNIK_PLUGIN_DIR)` to get the plugin installation folder for the currently used configuration. See the docs for more information.