mapnik/plugins/input/postgis/CMakeLists.txt

20 lines
421 B
Text
Raw Normal View History

2020-11-21 11:34:45 +01:00
project(input-postgis)
find_package(PostgreSQL REQUIRED)
2021-07-05 17:13:45 +02:00
add_library(input-postgis MODULE
2020-11-21 11:34:45 +01:00
postgis_datasource.cpp
postgis_featureset.cpp
)
target_link_libraries(input-postgis PRIVATE
2020-11-21 11:34:45 +01:00
mapnik::mapnik
PostgreSQL::PostgreSQL
)
2021-09-22 19:52:39 +02:00
set_target_properties(input-postgis PROPERTIES
OUTPUT_NAME "postgis"
PREFIX "${_plugin_prefix}"
SUFFIX "${_plugin_suffix}"
)
2020-11-21 11:34:45 +01:00
2021-09-22 19:52:39 +02:00
mapnik_install_plugin(input-postgis)