diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index b65d12ed2..5de2a86e6 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -295,7 +295,10 @@ target_link_libraries(mapnik PRIVATE mapnik::agg ) -set_target_properties(mapnik PROPERTIES DEBUG_POSTFIX ${MAPNIK_DEBUG_POSTFIX}) +set_target_properties(mapnik PROPERTIES + DEBUG_POSTFIX ${MAPNIK_DEBUG_POSTFIX} + PREFIX "lib" +) install(TARGETS mapnik EXPORT MapnikTargets diff --git a/src/json/CMakeLists.txt b/src/json/CMakeLists.txt index 2ced71b33..93f0baad7 100644 --- a/src/json/CMakeLists.txt +++ b/src/json/CMakeLists.txt @@ -27,6 +27,7 @@ target_link_libraries(json PRIVATE mapnik::core ${ICUU_LIB}) set_target_properties(json PROPERTIES DEBUG_POSTFIX ${MAPNIK_DEBUG_POSTFIX} POSITION_INDEPENDENT_CODE ON + PREFIX "libmapnik-" ) install(TARGETS json diff --git a/src/wkt/CMakeLists.txt b/src/wkt/CMakeLists.txt index da9c6d94b..7ef2255fa 100644 --- a/src/wkt/CMakeLists.txt +++ b/src/wkt/CMakeLists.txt @@ -19,6 +19,7 @@ target_link_libraries(wkt PRIVATE mapnik::core) set_target_properties(wkt PROPERTIES DEBUG_POSTFIX ${MAPNIK_DEBUG_POSTFIX} POSITION_INDEPENDENT_CODE ON + PREFIX "libmapnik-" ) install(TARGETS wkt