mapnik/plugins/input/ogr/CMakeLists.txt

15 lines
406 B
CMake

find_package(GDAL REQUIRED)
add_plugin_target(input-ogr "ogr")
target_sources(input-ogr ${_plugin_visibility}
ogr_converter.cpp
ogr_datasource.cpp
ogr_utils.cpp
ogr_featureset.cpp
ogr_index_featureset.cpp
)
target_include_directories(input-ogr ${_plugin_visibility} ${GDAL_INCLUDE_DIRS})
target_link_libraries(input-ogr ${_plugin_visibility}
mapnik::mapnik
${GDAL_LIBRARIES}
)