2020-11-20 20:20:28 +01:00
|
|
|
project(agg)
|
|
|
|
|
|
|
|
add_library(agg INTERFACE)
|
|
|
|
add_library(mapnik::agg ALIAS agg)
|
|
|
|
|
|
|
|
target_include_directories(agg INTERFACE
|
|
|
|
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
|
|
|
|
$<INSTALL_INTERFACE:include>
|
|
|
|
)
|
2021-03-18 15:35:55 +01:00
|
|
|
target_link_libraries(agg INTERFACE mapnik::core)
|
2020-11-20 20:20:28 +01:00
|
|
|
|
|
|
|
install(TARGETS agg
|
|
|
|
EXPORT MapnikTargets
|
|
|
|
LIBRARY DESTINATION lib
|
|
|
|
ARCHIVE DESTINATION lib
|
|
|
|
RUNTIME DESTINATION bin
|
|
|
|
PUBLIC_HEADER DESTINATION include
|
|
|
|
)
|
|
|
|
# todo install headers
|