1
0
forked from pool/mapserver
mapserver/4788-php-mapscript.patch

19 lines
530 B
Diff
Raw Normal View History

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 "")