20 lines
434 B
CMake
20 lines
434 B
CMake
project(svg2png)
|
|
|
|
find_package(Boost 1.74 REQUIRED COMPONENTS program_options)
|
|
|
|
add_executable(svg2png
|
|
svg2png.cpp
|
|
)
|
|
|
|
target_link_libraries(svg2png PRIVATE
|
|
Boost::program_options
|
|
mapnik::headers
|
|
mapnik::mapnik
|
|
mapnik::agg
|
|
)
|
|
install(TARGETS svg2png
|
|
EXPORT MapnikTargets
|
|
LIBRARY DESTINATION ${MAPNIK_LIB_DIR}
|
|
ARCHIVE DESTINATION ${MAPNIK_ARCHIVE_DIR}
|
|
RUNTIME DESTINATION ${MAPNIK_BIN_DIR}
|
|
)
|