2021-09-22 13:25:55 +00:00
|
|
|
find_package(Boost ${BOOST_MIN_VERSION} REQUIRED COMPONENTS program_options)
|
2020-11-22 21:01:33 +00:00
|
|
|
|
2020-11-20 20:15:27 +00:00
|
|
|
add_executable(mapnik-index
|
|
|
|
mapnik-index.cpp
|
|
|
|
process_csv_file.cpp
|
|
|
|
process_geojson_file_x3.cpp
|
2020-11-21 10:34:45 +00:00
|
|
|
../../plugins/input/csv/csv_utils.cpp # this project depends on this file
|
|
|
|
)
|
|
|
|
target_link_libraries(mapnik-index PRIVATE
|
|
|
|
mapnik::mapnik
|
|
|
|
mapnik::json
|
|
|
|
mapnik::wkt
|
|
|
|
Boost::program_options
|
2022-11-28 07:31:25 +00:00
|
|
|
ICU::data ICU::i18n ICU::uc # needed for the static build (TODO: why isn't this correctly propagated from mapnik::mapnik?)
|
2020-11-20 20:15:27 +00:00
|
|
|
)
|
2021-04-10 12:36:22 +00:00
|
|
|
|
2021-09-22 18:49:44 +00:00
|
|
|
mapnik_install_utility(mapnik-index)
|