15 lines
461 B
CMake
15 lines
461 B
CMake
find_package(Boost ${BOOST_MIN_VERSION} REQUIRED COMPONENTS program_options)
|
|
|
|
add_executable(mapnik-render mapnik-render.cpp)
|
|
|
|
target_link_libraries(mapnik-render PRIVATE
|
|
mapnik::mapnik
|
|
Boost::program_options
|
|
)
|
|
|
|
set_target_properties(mapnik-render PROPERTIES
|
|
RUNTIME_OUTPUT_DIRECTORY "${MAPNIK_OUTPUT_DIR}"
|
|
MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>$<$<BOOL:${BUILD_SHARED_CRT}>:DLL>"
|
|
)
|
|
|
|
mapnik_install_utility(mapnik-render)
|