mirror of
https://github.com/mapnik/mapnik.git
synced 2026-02-01 17:36:36 +00:00
21 lines
496 B
CMake
21 lines
496 B
CMake
project(shapeindex)
|
|
|
|
find_package(Boost 1.74 REQUIRED COMPONENTS program_options)
|
|
|
|
add_executable(shapeindex
|
|
shapeindex.cpp
|
|
)
|
|
|
|
target_include_directories(shapeindex PRIVATE ../../plugins/input/shape)
|
|
target_link_libraries(shapeindex PRIVATE
|
|
Boost::program_options
|
|
mapnik::core
|
|
mapnik::mapnik
|
|
)
|
|
install(TARGETS shapeindex
|
|
EXPORT MapnikTargets
|
|
LIBRARY DESTINATION ${MAPNIK_LIB_DIR}
|
|
ARCHIVE DESTINATION ${MAPNIK_ARCHIVE_DIR}
|
|
RUNTIME DESTINATION ${MAPNIK_BIN_DIR}
|
|
)
|