Skip to content
This repository has been archived by the owner on Feb 21, 2019. It is now read-only.

Commit

Permalink
Use only major version number for libome-common soname
Browse files Browse the repository at this point in the history
  • Loading branch information
carandraug committed Jul 4, 2017
1 parent 2e3b39b commit e9b805b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ list(APPEND CMAKE_MODULE_PATH
"${CMAKE_CURRENT_LIST_DIR}/cmake")

set(release-name "ome-common-cpp")
set(release-version "5.4.2")
set(release-version-major "5")
set(release-version "${release-version-major}.4.2")
project(ome-common
VERSION "${release-version}"
LANGUAGES CXX)
Expand Down
5 changes: 4 additions & 1 deletion lib/ome/common/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,10 @@ target_link_libraries(ome-common
${LibDl_LIBRARIES})

set_target_properties(ome-common PROPERTIES LINKER_LANGUAGE CXX)
set_target_properties(ome-common PROPERTIES VERSION ${ome-common_VERSION})
set_target_properties(ome-common
PROPERTIES
VERSION ${ome-common_VERSION}
SOVERSION ${release-version-major})

add_library(OME::Common ALIAS ome-common)

Expand Down

0 comments on commit e9b805b

Please sign in to comment.