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(mapnik-render mapnik-render.cpp)
|
|
|
|
|
2022-08-17 17:19:59 +02:00
|
|
|
target_link_libraries(mapnik-render PRIVATE
|
2020-11-21 11:34:45 +01:00
|
|
|
mapnik::mapnik
|
|
|
|
Boost::program_options
|
|
|
|
)
|
2021-04-10 14:36:22 +02:00
|
|
|
|
2022-08-17 17:19:59 +02:00
|
|
|
set_target_properties(mapnik-render PROPERTIES
|
2021-10-25 18:58:55 +02:00
|
|
|
RUNTIME_OUTPUT_DIRECTORY "${MAPNIK_OUTPUT_DIR}"
|
2022-04-22 15:10:49 +02:00
|
|
|
MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>$<$<BOOL:${BUILD_SHARED_CRT}>:DLL>"
|
2021-10-25 18:58:55 +02:00
|
|
|
)
|
|
|
|
|
2021-09-22 20:49:44 +02:00
|
|
|
mapnik_install_utility(mapnik-render)
|