fix library name

This commit is contained in:
Mathis Logemann 2021-07-22 21:35:12 +02:00
parent 03b1f18c89
commit b925abf403
3 changed files with 6 additions and 1 deletions

View file

@ -295,7 +295,10 @@ target_link_libraries(mapnik PRIVATE
mapnik::agg 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 install(TARGETS mapnik
EXPORT MapnikTargets EXPORT MapnikTargets

View file

@ -27,6 +27,7 @@ target_link_libraries(json PRIVATE mapnik::core ${ICUU_LIB})
set_target_properties(json PROPERTIES set_target_properties(json PROPERTIES
DEBUG_POSTFIX ${MAPNIK_DEBUG_POSTFIX} DEBUG_POSTFIX ${MAPNIK_DEBUG_POSTFIX}
POSITION_INDEPENDENT_CODE ON POSITION_INDEPENDENT_CODE ON
PREFIX "libmapnik-"
) )
install(TARGETS json install(TARGETS json

View file

@ -19,6 +19,7 @@ target_link_libraries(wkt PRIVATE mapnik::core)
set_target_properties(wkt PROPERTIES set_target_properties(wkt PROPERTIES
DEBUG_POSTFIX ${MAPNIK_DEBUG_POSTFIX} DEBUG_POSTFIX ${MAPNIK_DEBUG_POSTFIX}
POSITION_INDEPENDENT_CODE ON POSITION_INDEPENDENT_CODE ON
PREFIX "libmapnik-"
) )
install(TARGETS wkt install(TARGETS wkt