Skip to content

Commit

Permalink
CMakeLists.txt: Set SOVERSION
Browse files Browse the repository at this point in the history
  • Loading branch information
lipnitsk committed Feb 25, 2016
1 parent ae990d2 commit 57ec834
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
SET(PACKAGE libcue)
SET(PACKAGE_NAME libcue)
SET(PACKAGE_VERSION 2.0.1)
SET(PACKAGE_SOVERSION 2)

CMAKE_MINIMUM_REQUIRED(VERSION 2.8 FATAL_ERROR)

Expand Down Expand Up @@ -39,6 +40,7 @@ ADD_LIBRARY(cue SHARED ${CUE_SOURCES}

SET_TARGET_PROPERTIES (cue
PROPERTIES VERSION ${PACKAGE_VERSION}
SOVERSION ${PACKAGE_SOVERSION}
C_VISIBILITY_PRESET hidden)

INSTALL(TARGETS cue
Expand Down

0 comments on commit 57ec834

Please sign in to comment.