project(agg) add_library(agg INTERFACE) add_library(mapnik::agg ALIAS agg) target_include_directories(agg INTERFACE $ $ ) target_link_libraries(agg INTERFACE mapnik::core) install(TARGETS agg EXPORT MapnikTargets LIBRARY DESTINATION lib ARCHIVE DESTINATION lib RUNTIME DESTINATION bin PUBLIC_HEADER DESTINATION include ) # agg headers would be installed in the top level CMakeLists.txt