mapnik/plugins/input/postgis/CMakeLists.txt
Mathis Logemann eb3823aa4a precommit
2022-08-17 17:35:25 +02:00

12 lines
326 B
CMake

mapnik_find_package(PostgreSQL REQUIRED)
add_plugin_target(input-postgis "postgis")
target_sources(input-postgis ${_plugin_visibility}
postgis_datasource.cpp
postgis_featureset.cpp
)
target_link_libraries(input-postgis ${_plugin_visibility}
mapnik::mapnik
mapnik::datasource-base
PostgreSQL::PostgreSQL
)