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

13 lines
372 B
CMake

find_package(GDAL REQUIRED)
add_plugin_target(input-gdal "gdal")
target_sources(input-gdal ${_plugin_visibility}
gdal_datasource.cpp
gdal_featureset.cpp
)
target_include_directories(input-gdal ${_plugin_visibility} ${GDAL_INCLUDE_DIRS})
target_link_libraries(input-gdal ${_plugin_visibility}
mapnik::mapnik
mapnik::datasource-base
${GDAL_LIBRARIES}
)