Skip to content

Commit

Permalink
Fix SO version
Browse files Browse the repository at this point in the history
  • Loading branch information
meshula authored and nickrasmussen committed Aug 9, 2018
1 parent 2fda59f commit 7c75c56
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ set(OPENEXR_VERSION_MINOR 3)
set(OPENEXR_VERSION_PATCH 0)
set(OPENEXR_VERSION ${OPENEXR_VERSION_MAJOR}.${OPENEXR_VERSION_MINOR}.${OPENEXR_VERSION_PATCH})
set(OPENEXR_VERSION_API ${OPENEXR_VERSION_MAJOR}_${OPENEXR_VERSION_MINOR})
set(${OPENEXR_SOVERSION} 24)

project(OpenEXR VERSION ${OPENEXR_VERSION})

Expand Down
2 changes: 1 addition & 1 deletion IlmBase/Half/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ IF (OPENEXR_BUILD_SHARED)
SET_TARGET_PROPERTIES ( Half
PROPERTIES
VERSION ${OPENEXR_VERSION}
SOVERSION ${OPENEXR_VERSION_MAJOR}
SOVERSION ${OPENEXR_SOVERSION}
OUTPUT_NAME "Half${ILMBASE_LIBSUFFIX}"
)

Expand Down
2 changes: 1 addition & 1 deletion IlmBase/Imath/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ IF ( OPENEXR_BUILD_SHARED )
SET_TARGET_PROPERTIES ( Imath
PROPERTIES
VERSION ${OPENEXR_VERSION}
SOVERSION ${OPENEXR_VERSION_MAJOR}
SOVERSION ${OPENEXR_SOVERSION}
OUTPUT_NAME "Imath${ILMBASE_LIBSUFFIX}"
)
ENDIF ()
Expand Down

0 comments on commit 7c75c56

Please sign in to comment.