[CMake] add import prefix for libmapnik

so that the resulting archive is also named libmapnik
This commit is contained in:
Mathis Logemann 2021-09-23 19:11:29 +02:00
parent fcc7016124
commit fa2fec338b

View file

@ -293,6 +293,7 @@ set_target_properties(mapnik PROPERTIES
DEBUG_POSTFIX "${MAPNIK_DEBUG_POSTFIX}" DEBUG_POSTFIX "${MAPNIK_DEBUG_POSTFIX}"
OUTPUT_NAME "mapnik" OUTPUT_NAME "mapnik"
PREFIX "lib" PREFIX "lib"
IMPORT_PREFIX "lib" # for the archive on dll platforms
VERSION ${MAPNIK_VERSION} VERSION ${MAPNIK_VERSION}
# see https://github.com/mapnik/mapnik/pull/4248#issuecomment-925596509 => ABI compability only with the full version # see https://github.com/mapnik/mapnik/pull/4248#issuecomment-925596509 => ABI compability only with the full version
SOVERSION ${MAPNIK_VERSION} SOVERSION ${MAPNIK_VERSION}