From 7f0ee327caa4b564c35e5f1b16302a17a441d7ea Mon Sep 17 00:00:00 2001 From: Balint Reczey Date: Sat, 23 Feb 2013 22:54:36 +0000 Subject: [PATCH] Set library versions in CMake builds svn path=/trunk/; revision=47848 --- epan/CMakeLists.txt | 1 + wiretap/CMakeLists.txt | 1 + wsutil/CMakeLists.txt | 1 + 3 files changed, 3 insertions(+) diff --git a/epan/CMakeLists.txt b/epan/CMakeLists.txt index 70bfa73b29..9eba37cb2f 100644 --- a/epan/CMakeLists.txt +++ b/epan/CMakeLists.txt @@ -1541,6 +1541,7 @@ add_library(epan ${LINK_MODE_LIB} ${LIBWIRESHARK_ASM_FILES} ) set_target_properties(epan PROPERTIES LINK_FLAGS "${WS_LINK_FLAGS}") +set_target_properties(epan PROPERTIES VERSION "0.0.0" SOVERSION 0) # By default the name for a library with target name epan will be libepan, # but Ethereal is now named Wireshark diff --git a/wiretap/CMakeLists.txt b/wiretap/CMakeLists.txt index a2147a2401..1a9dc40370 100644 --- a/wiretap/CMakeLists.txt +++ b/wiretap/CMakeLists.txt @@ -107,6 +107,7 @@ add_library(wiretap ${LINK_MODE_LIB} ${WIRETAP_FILES} ) set_target_properties(wiretap PROPERTIES LINK_FLAGS "${WS_LINK_FLAGS}") +set_target_properties(wiretap PROPERTIES VERSION "0.0.0" SOVERSION 0) target_link_libraries(wiretap ${wiretap_LIBS}) diff --git a/wsutil/CMakeLists.txt b/wsutil/CMakeLists.txt index cd012eaf7e..c5035a19d6 100644 --- a/wsutil/CMakeLists.txt +++ b/wsutil/CMakeLists.txt @@ -61,6 +61,7 @@ add_library(wsutil ${LINK_MODE_LIB} ${WSUTIL_FILES} ) set_target_properties(wsutil PROPERTIES LINK_FLAGS "${WS_LINK_FLAGS}") +set_target_properties(wsutil PROPERTIES VERSION "0.0.0" SOVERSION 0) target_link_libraries(wsutil ${wsutil_LIBS})