mirror of
https://github.com/mapnik/mapnik.git
synced 2026-02-01 17:36:36 +00:00
fix merge remove old DATASOURCE_PLUGIN call fix memory_datasource wip wip fix temp return fix install wip before_unload linux remove docker remove docker comments add windows error message if libmapnik=static and plugins=dynamic fix false plugin macro plugin default de/constructor to remove UB simplyfy plugin targets - add fpic fix makro simplyfy use unique_ptr for plugin handle rename option static plugins replace local init with fnc call call setup everywhere init datasource_static
16 lines
416 B
CMake
16 lines
416 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_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
|
|
mapnik::datasource-base
|
|
${GDAL_LIBRARIES}
|
|
)
|