mapnik/utils/mapnik-render/CMakeLists.txt
2021-03-18 15:35:55 +01:00

17 lines
433 B
CMake

project(mapnik-render)
find_package(Boost 1.74 REQUIRED COMPONENTS program_options)
add_executable(mapnik-render mapnik-render.cpp)
target_link_libraries(mapnik-render PRIVATE
mapnik::core
mapnik::mapnik
Boost::program_options
)
install(TARGETS mapnik-render
EXPORT MapnikTargets
LIBRARY DESTINATION ${MAPNIK_LIB_DIR}
ARCHIVE DESTINATION ${MAPNIK_ARCHIVE_DIR}
RUNTIME DESTINATION ${MAPNIK_BIN_DIR}
)