Commit a8fedf28 authored by Jan Möbius's avatar Jan Möbius

Added sonames for OpenMesh libs

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@173 fdac6126-5c0c-442c-9429-916003d36597
parent 746d5902
......@@ -359,12 +359,6 @@ function (acg_add_library _target _libtype)
add_library (${_target} ${_type} ${ARGN} )
# acg_get_version()
#
# set_target_properties (${_target} PROPERTIES VERSION ${VERSION-MAJOR}.${VERSION-MINOR}
# SOVERSION ${VERSION-MAJOR}.${VERSION-MINOR} )
#
# set common target properties defined in common.cmake
acg_set_target_props (${_target})
......
......@@ -29,6 +29,9 @@ if (WIN32)
acg_add_library (OpenMeshCore STATIC ${sources} ${headers})
else ()
acg_add_library (OpenMeshCore SHAREDANDSTATIC ${sources} ${headers})
set_target_properties (OpenMeshCore PROPERTIES VERSION ${OPENMESH_VERSION_MAJOR}.${OPENMESH_VERSION_MINOR}
SOVERSION ${OPENMESH_VERSION_MAJOR}.${OPENMESH_VERSION_MINOR} )
endif ()
......
......@@ -29,6 +29,8 @@ if (WIN32)
acg_add_library (OpenMeshTools STATIC ${sources} ${headers})
else ()
acg_add_library (OpenMeshTools SHAREDANDSTATIC ${sources} ${headers})
set_target_properties (OpenMeshTools PROPERTIES VERSION ${OPENMESH_VERSION_MAJOR}.${OPENMESH_VERSION_MINOR}
SOVERSION ${OPENMESH_VERSION_MAJOR}.${OPENMESH_VERSION_MINOR} )
endif ()
target_link_libraries (OpenMeshTools OpenMeshCore)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment