summaryrefslogtreecommitdiffstats
path: root/src/cmake/library.cmake
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2018-08-31 17:38:57 +0200
committerDamjan Marion <damarion@cisco.com>2018-08-31 21:14:29 +0200
commitc6c0246e2e9219baee3d67970775bed7560eac1e (patch)
treed8fb787aa3e95c30442e8fc997d05b6cdc4a008e /src/cmake/library.cmake
parent219cc90cb435cfcfb5154c6c0e49bd4d60aae769 (diff)
cmake: detect vpp version, set soversion, pretty config print
Change-Id: I5d0777421debe6c3e4b93d62ad6790912063a9e6 Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/cmake/library.cmake')
-rw-r--r--src/cmake/library.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cmake/library.cmake b/src/cmake/library.cmake
index 0d1e97cb6a3..cff5e3e3f2f 100644
--- a/src/cmake/library.cmake
+++ b/src/cmake/library.cmake
@@ -21,6 +21,7 @@ macro(add_vpp_library lib)
add_library(${lib} SHARED ${ARG_SOURCES})
target_compile_options(${lib} PRIVATE -Wall)
+ set_target_properties(${lib} PROPERTIES SOVERSION ${VPP_LIB_VERSION})
# library deps
if(ARG_LINK_LIBRARIES)