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
|
|
|
|
2022-08-11 20:54:50 +00:00
|
|
|
add_executable(svg2png
|
2020-11-20 20:15:27 +00:00
|
|
|
svg2png.cpp
|
|
|
|
)
|
|
|
|
|
2022-08-11 20:54:50 +00:00
|
|
|
target_link_libraries(svg2png PRIVATE
|
|
|
|
Boost::program_options
|
2020-11-21 11:24:34 +00:00
|
|
|
mapnik::mapnik
|
|
|
|
mapnik::agg
|
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-21 11:24:34 +00:00
|
|
|
)
|
2021-04-10 12:36:22 +00:00
|
|
|
|
2021-09-22 18:49:44 +00:00
|
|
|
mapnik_install_utility(svg2png)
|