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