mapnik/plugins/input/postgis/CMakeLists.txt
Mathis Logemann f48589738f precommit
2022-08-17 17:19:59 +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
)