2021-09-22 15:25:55 +02:00
|
|
|
find_package(Boost ${BOOST_MIN_VERSION} REQUIRED COMPONENTS program_options)
|
2020-11-22 22:01:33 +01:00
|
|
|
|
2020-11-20 21:15:27 +01:00
|
|
|
add_executable(svg2png
|
|
|
|
svg2png.cpp
|
|
|
|
)
|
|
|
|
|
2020-11-21 12:24:34 +01:00
|
|
|
target_link_libraries(svg2png PRIVATE
|
|
|
|
Boost::program_options
|
|
|
|
mapnik::mapnik
|
|
|
|
mapnik::agg
|
|
|
|
)
|
2021-04-10 14:36:22 +02:00
|
|
|
|
2021-10-25 18:58:55 +02:00
|
|
|
set_target_properties(svg2png PROPERTIES
|
|
|
|
RUNTIME_OUTPUT_DIRECTORY "${MAPNIK_OUTPUT_DIR}"
|
|
|
|
)
|
|
|
|
|
2021-09-22 20:49:44 +02:00
|
|
|
mapnik_install_utility(svg2png)
|