Commit e3483fe3 authored by Dominik Charousset's avatar Dominik Charousset

Fix library version of shared objects

parent 90ea76ad
cmake_minimum_required(VERSION 2.8.12)
project(caf_net C CXX)
# get header files; only needed by CMake generators, # get header files; only needed by CMake generators,
# e.g., for creating proper Xcode projects # e.g., for creating proper Xcode projects
file(GLOB_RECURSE LIBCAF_NET_HDRS "caf/*.hpp") file(GLOB_RECURSE LIBCAF_NET_HDRS "caf/*.hpp")
...@@ -60,7 +57,7 @@ if (NOT CAF_BUILD_STATIC_ONLY) ...@@ -60,7 +57,7 @@ if (NOT CAF_BUILD_STATIC_ONLY)
set_target_properties(libcaf_net_shared set_target_properties(libcaf_net_shared
PROPERTIES PROPERTIES
SOVERSION ${CAF_VERSION} SOVERSION ${CAF_VERSION}
VERSION ${CAF_VERSION} VERSION ${CAF_LIB_VERSION}
OUTPUT_NAME caf_net OUTPUT_NAME caf_net
) )
install(TARGETS libcaf_net_shared install(TARGETS libcaf_net_shared
......
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