mapnik/utils/shapeindex/CMakeLists.txt

19 lines
522 B
Text
Raw Normal View History

find_package(Boost ${BOOST_MIN_VERSION} REQUIRED COMPONENTS program_options)
2020-11-22 21:01:33 +00:00
2022-08-17 15:19:59 +00:00
add_executable(shapeindex
2020-11-20 20:15:27 +00:00
shapeindex.cpp
)
2020-11-21 11:24:34 +00:00
target_include_directories(shapeindex PRIVATE ../../plugins/input/shape)
target_link_libraries(shapeindex PRIVATE
Boost::program_options
mapnik::mapnik
)
2022-08-17 15:19:59 +00:00
set_target_properties(shapeindex PROPERTIES
RUNTIME_OUTPUT_DIRECTORY "${MAPNIK_OUTPUT_DIR}"
2022-04-22 13:10:49 +00:00
MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>$<$<BOOL:${BUILD_SHARED_CRT}>:DLL>"
)
2021-09-22 18:49:44 +00:00
mapnik_install_utility(shapeindex)