2020-11-20 19:20:28 +00:00
|
|
|
project(agg)
|
|
|
|
|
|
|
|
add_library(agg INTERFACE)
|
|
|
|
add_library(mapnik::agg ALIAS agg)
|
|
|
|
|
2022-08-11 20:54:50 +00:00
|
|
|
target_include_directories(agg INTERFACE
|
|
|
|
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
|
2020-11-20 19:20:28 +00:00
|
|
|
$<INSTALL_INTERFACE:include>
|
|
|
|
)
|
2021-03-18 14:35:55 +00:00
|
|
|
target_link_libraries(agg INTERFACE mapnik::core)
|
2020-11-20 19:20:28 +00:00
|
|
|
|
|
|
|
install(TARGETS agg
|
|
|
|
EXPORT MapnikTargets
|
|
|
|
LIBRARY DESTINATION lib
|
|
|
|
ARCHIVE DESTINATION lib
|
|
|
|
RUNTIME DESTINATION bin
|
|
|
|
PUBLIC_HEADER DESTINATION include
|
|
|
|
)
|
2021-09-14 18:46:43 +00:00
|
|
|
# agg headers would be installed in the top level CMakeLists.txt
|