mapnik/plugins/input/pgraster/CMakeLists.txt
Mathis Logemann 42f465f842 refactor datasource plugins
fix merge

remove old DATASOURCE_PLUGIN call

fix memory_datasource

wip

wip

fix temp return

fix install

wip before_unload

linux

remove docker

remove docker

comments

add windows error message if libmapnik=static and plugins=dynamic

fix false plugin macro

plugin default de/constructor to remove UB

simplyfy plugin targets - add fpic

fix makro

simplyfy

use unique_ptr for plugin handle

rename option static plugins

replace local init with fnc call

call setup everywhere

init datasource_static
2022-02-07 15:35:09 +01:00

13 lines
357 B
CMake

find_package(PostgreSQL REQUIRED)
add_plugin_target(input-pgraster "pgraster")
target_sources(input-pgraster ${_plugin_visibility}
pgraster_datasource.cpp
pgraster_featureset.cpp
pgraster_wkb_reader.cpp
)
target_link_libraries(input-pgraster ${_plugin_visibility}
mapnik::mapnik
mapnik::datasource-base
PostgreSQL::PostgreSQL
)