2020-11-21 11:34:45 +01:00
|
|
|
find_package(GDAL REQUIRED)
|
|
|
|
|
2022-02-02 17:20:29 +01:00
|
|
|
add_plugin_target(input-gdal "gdal")
|
2022-01-29 12:52:23 +01:00
|
|
|
target_sources(input-gdal ${_plugin_visibility}
|
2020-11-21 11:34:45 +01:00
|
|
|
gdal_datasource.cpp
|
|
|
|
gdal_featureset.cpp
|
|
|
|
)
|
2022-01-29 12:52:23 +01:00
|
|
|
target_include_directories(input-gdal ${_plugin_visibility} ${GDAL_INCLUDE_DIRS})
|
2022-08-17 17:35:25 +02:00
|
|
|
target_link_libraries(input-gdal ${_plugin_visibility}
|
2020-11-21 11:34:45 +01:00
|
|
|
mapnik::mapnik
|
2022-01-29 12:52:23 +01:00
|
|
|
mapnik::datasource-base
|
2021-07-22 20:17:03 +02:00
|
|
|
${GDAL_LIBRARIES}
|
2020-11-21 11:34:45 +01:00
|
|
|
)
|