From 0ea96eaa3d711f341fac58af816dca3f40d66280 Mon Sep 17 00:00:00 2001 From: Jean-Paul Chaput Date: Fri, 4 Feb 2011 11:09:11 +0000 Subject: [PATCH] Add library version to isobar. --- hurricane/src/isobar/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hurricane/src/isobar/CMakeLists.txt b/hurricane/src/isobar/CMakeLists.txt index 202e4d3d..a2b1a3ac 100644 --- a/hurricane/src/isobar/CMakeLists.txt +++ b/hurricane/src/isobar/CMakeLists.txt @@ -87,13 +87,14 @@ add_library ( isobar ${sources} ) + set_target_properties ( isobar PROPERTIES VERSION 1.0 SOVERSION 1 ) target_link_libraries ( isobar hurricane ${Boost_LIBRARIES} ${PYTHON_LIBRARIES}) add_library ( Hurricane MODULE ${sources} ) set_target_properties ( Hurricane PROPERTIES COMPILE_FLAGS "${COMPILE_FLAGS} -D__PYTHON_MODULE__=1" PREFIX "" ) - target_link_libraries ( Hurricane isobar ) + target_link_libraries ( Hurricane isobar ) install ( TARGETS isobar DESTINATION lib${LIB_SUFFIX} ) install ( TARGETS Hurricane DESTINATION ${PYTHON_SITE_PACKAGES} ) install ( FILES ${includes} DESTINATION include/coriolis2/hurricane/isobar )