mapnik/utils/mapnik-index/CMakeLists.txt
2022-12-09 14:48:52 +01:00

17 lines
553 B
CMake

find_package(Boost ${BOOST_MIN_VERSION} REQUIRED COMPONENTS program_options)
add_executable(mapnik-index
mapnik-index.cpp
process_csv_file.cpp
process_geojson_file_x3.cpp
../../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
ICU::data ICU::i18n ICU::uc # needed for the static build (TODO: why isn't this correctly propagated from mapnik::mapnik?)
)
mapnik_install_utility(mapnik-index)