diff --git a/mapscript/php/CMakeLists.txt b/mapscript/php/CMakeLists.txt index 89092cc..664b095 100644 --- a/mapscript/php/CMakeLists.txt +++ b/mapscript/php/CMakeLists.txt @@ -25,6 +25,13 @@ add_library(php_mapscript MODULE ) +if(NOT APPLE) + set_target_properties( php_mapscript PROPERTIES + VERSION ${MapServer_VERSION_STRING} + SOVERSION ${MapServer_SOVERSION} + ) +endif(NOT APPLE) + target_link_libraries(php_mapscript ${MAPSERVER_LIBMAPSERVER}) set_target_properties(php_mapscript PROPERTIES PREFIX "")