aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/mapnik/usage
blob: 405830460827011bae6e03a041df5cdb3b4ced74 (plain)
1
2
3
4
5
6
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.