From d61067132724a4aa33881da9f0fc4cd7546cb5e2 Mon Sep 17 00:00:00 2001 From: Mathis Logemann Date: Fri, 2 Jul 2021 16:02:30 +0200 Subject: [PATCH] try install json and wkt again --- src/json/CMakeLists.txt | 9 +++++++++ src/wkt/CMakeLists.txt | 9 +++++++++ 2 files changed, 18 insertions(+) diff --git a/src/json/CMakeLists.txt b/src/json/CMakeLists.txt index e3682d31e..899293562 100644 --- a/src/json/CMakeLists.txt +++ b/src/json/CMakeLists.txt @@ -26,4 +26,13 @@ target_include_directories(json PRIVATE ) target_link_libraries(json PRIVATE mapnik::core ${ICUU_LIB}) +install(TARGETS json + EXPORT MapnikTargets + LIBRARY DESTINATION ${MAPNIK_LIB_DIR} + ARCHIVE DESTINATION ${MAPNIK_ARCHIVE_DIR} + RUNTIME DESTINATION ${MAPNIK_BIN_DIR} + INCLUDES DESTINATION include/ + PUBLIC_HEADER DESTINATION include/ +) + mapnik_install(TARGET json) diff --git a/src/wkt/CMakeLists.txt b/src/wkt/CMakeLists.txt index 161fd87d4..5f3e9d485 100644 --- a/src/wkt/CMakeLists.txt +++ b/src/wkt/CMakeLists.txt @@ -18,4 +18,13 @@ target_include_directories(wkt PRIVATE ) target_link_libraries(wkt PRIVATE mapnik::core) +install(TARGETS wkt + EXPORT MapnikTargets + LIBRARY DESTINATION ${MAPNIK_LIB_DIR} + ARCHIVE DESTINATION ${MAPNIK_ARCHIVE_DIR} + RUNTIME DESTINATION ${MAPNIK_BIN_DIR} + INCLUDES DESTINATION include/ + PUBLIC_HEADER DESTINATION include/ +) + mapnik_install(TARGET wkt)