Commit a6fba481 authored by Sebastian Eichelbaum's avatar Sebastian Eichelbaum
Browse files

[FIX] - libs now use the LIB version instead of release version.

parent eba650ca
......@@ -179,9 +179,9 @@ INCLUDE_DIRECTORIES( ${OW_VERSION_HEADER_DIRECTORY} )
SETUP_VERSION_HEADER( ${OW_VERSION_HEADER} )
# Set the OW version string. This can be used by others for setting target versions during compilation.
GET_VERSION_STRING( OW_VERSION OW_API_VERSION )
GET_VERSION_STRING( OW_VERSION OW_LIB_VERSION )
# We need a SOVERSION too. This somehow describes the API compatibility. We use the major number here.
SPLIT_VERSION_STRING( ${OW_API_VERSION} OW_VERSION_MAJOR OW_VERSION_MINOR OW_VERSION_PATCH )
SPLIT_VERSION_STRING( ${OW_LIB_VERSION} OW_VERSION_MAJOR OW_VERSION_MINOR OW_VERSION_PATCH )
SET( OW_SOVERSION ${OW_VERSION_MAJOR} )
# ---------------------------------------------------------------------------------------------------------------------------------------------------
......
......@@ -57,7 +57,7 @@ SETUP_USE_VERSION_HEADER( ${LibName} )
# Set the version of the library.
SET_TARGET_PROPERTIES( ${LibName} PROPERTIES
VERSION ${OW_VERSION}
VERSION ${OW_LIB_VERSION}
SOVERSION ${OW_SOVERSION}
)
......
......@@ -20,7 +20,7 @@ ENDIF()
# Set the version of the library.
SET_TARGET_PROPERTIES( ${OWExtBioSigName} PROPERTIES
VERSION ${OW_VERSION}
VERSION ${OW_LIB_VERSION}
SOVERSION ${OW_SOVERSION}
)
......
......@@ -23,7 +23,7 @@ ENDIF(MSVC_IDE)
# Set the version of the library.
SET_TARGET_PROPERTIES( ${OWExtEEPName} PROPERTIES
VERSION ${OW_VERSION}
VERSION ${OW_LIB_VERSION}
SOVERSION ${OW_SOVERSION}
)
......
......@@ -51,12 +51,12 @@ ENDIF(UNIX)
# Set the version of the library.
SET_TARGET_PROPERTIES( ${NIFTI_ZNZLIB_NAME} PROPERTIES
VERSION ${OW_VERSION}
VERSION ${OW_LIB_VERSION}
SOVERSION ${OW_SOVERSION}
)
# Set the version of the library.
SET_TARGET_PROPERTIES( ${NIFTI_NIFTILIB_NAME} PROPERTIES
VERSION ${OW_VERSION}
VERSION ${OW_LIB_VERSION}
SOVERSION ${OW_SOVERSION}
)
......
......@@ -85,7 +85,7 @@ FUNCTION( SETUP_MODULE _MODULE_NAME _MODULE_SOURCE_DIR _MODULE_DEPENDENCIES _MOD
# Set the version of the library.
SET_TARGET_PROPERTIES( ${MODULE_NAME} PROPERTIES
VERSION ${OW_VERSION}
VERSION ${OW_LIB_VERSION}
SOVERSION ${OW_SOVERSION}
)
......
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