Skip to content

Commit

Permalink
setting soname
Browse files Browse the repository at this point in the history
  • Loading branch information
horta committed Jul 12, 2018
1 parent ccce7e3 commit 51c0565
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.4.5
1.4.6
7 changes: 6 additions & 1 deletion cmake/limix.cmake
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# limix cmake module (1.0.2)
# limix cmake module (1.0.3)
#
# Common configuration and handy functions for limix projects.
#
Expand Down Expand Up @@ -108,6 +108,11 @@ function(add_library_type TYPE NAME VERSION SOURCES PUBLIC_HEADERS LIBS)
easy_set_target_property(${NAME} VERSION ${VERSION})
if(TYPE MATCHES "SHARED")
easy_set_target_property(${NAME} PUBLIC_HEADER "${PUBLIC_HEADERS}")

string(REPLACE "." ";" VERSION_LIST ${VERSION})
list(GET VERSION_LIST 0 VERSION_MAJOR)
easy_set_target_property(${NAME} SOVERSION ${VERSION_MAJOR})

easy_shared_install(${NAME})
else()
easy_static_install(${NAME})
Expand Down

0 comments on commit 51c0565

Please sign in to comment.