mirror of
https://github.com/mapnik/mapnik.git
synced 2026-01-08 04:37:51 +01:00
17 lines
479 B
CMake
17 lines
479 B
CMake
find_package(GDAL REQUIRED)
|
|
|
|
add_plugin_target(input-gdal+ogr "gdal+ogr")
|
|
target_sources(input-gdal+ogr ${_plugin_visibility}
|
|
gdal_datasource.cpp
|
|
gdal_featureset.cpp
|
|
ogr_converter.cpp
|
|
ogr_datasource.cpp
|
|
ogr_utils.cpp
|
|
ogr_featureset.cpp
|
|
ogr_index_featureset.cpp
|
|
)
|
|
target_include_directories(input-gdal+ogr ${_plugin_visibility} ${GDAL_INCLUDE_DIRS})
|
|
target_link_libraries(input-gdal+ogr ${_plugin_visibility}
|
|
mapnik::mapnik
|
|
${GDAL_LIBRARIES}
|
|
)
|