mapnik/utils/svg2png/CMakeLists.txt

18 lines
351 B
Text
Raw Permalink Normal View History

find_package(Boost ${BOOST_MIN_VERSION} REQUIRED COMPONENTS program_options)
2020-11-22 22:01:33 +01:00
2022-08-11 22:54:50 +02:00
add_executable(svg2png
2020-11-20 21:15:27 +01:00
svg2png.cpp
)
2022-08-11 22:54:50 +02:00
target_link_libraries(svg2png PRIVATE
Boost::program_options
2020-11-21 12:24:34 +01:00
mapnik::mapnik
mapnik::agg
)
2022-08-11 22:54:50 +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)