mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-01-17 22:38:33 +01:00
Set SOVERSION of libtomahawk to current Tomahawk version, we won't give any ABI guarantee in the foreseeable future
This commit is contained in:
parent
a30f1f94e2
commit
79fff5ce0e
@ -62,10 +62,12 @@ ENDIF()
|
|||||||
|
|
||||||
# base string used in release and unstable builds
|
# base string used in release and unstable builds
|
||||||
SET( TOMAHAWK_VERSION ${TOMAHAWK_VERSION_MAJOR}.${TOMAHAWK_VERSION_MINOR}.${TOMAHAWK_VERSION_PATCH} )
|
SET( TOMAHAWK_VERSION ${TOMAHAWK_VERSION_MAJOR}.${TOMAHAWK_VERSION_MINOR}.${TOMAHAWK_VERSION_PATCH} )
|
||||||
|
SET(TOMAHAWK_VERSION_SHORT "${TOMAHAWK_VERSION}")
|
||||||
IF( TOMAHAWK_VERSION_RC )
|
IF( TOMAHAWK_VERSION_RC )
|
||||||
SET( TOMAHAWK_VERSION ${TOMAHAWK_VERSION}rc${TOMAHAWK_VERSION_RC} )
|
SET( TOMAHAWK_VERSION ${TOMAHAWK_VERSION}rc${TOMAHAWK_VERSION_RC} )
|
||||||
ENDIF()
|
ENDIF()
|
||||||
|
|
||||||
|
|
||||||
# additional info for non-release builds
|
# additional info for non-release builds
|
||||||
IF( NOT BUILD_RELEASE AND EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/.git/" )
|
IF( NOT BUILD_RELEASE AND EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/.git/" )
|
||||||
INCLUDE( CMakeDateStamp )
|
INCLUDE( CMakeDateStamp )
|
||||||
|
@ -429,7 +429,15 @@ qt_wrap_ui(libUI_H ${libUI})
|
|||||||
SET( libSources ${libSources} ${libUI_H} )
|
SET( libSources ${libSources} ${libUI_H} )
|
||||||
|
|
||||||
add_library( tomahawklib SHARED ${libSources})
|
add_library( tomahawklib SHARED ${libSources})
|
||||||
set_target_properties(tomahawklib PROPERTIES AUTOMOC TRUE)
|
set_target_properties(
|
||||||
|
tomahawklib
|
||||||
|
PROPERTIES
|
||||||
|
AUTOMOC TRUE
|
||||||
|
VERSION ${TOMAHAWK_VERSION_SHORT}
|
||||||
|
SOVERSION ${TOMAHAWK_VERSION_SHORT}
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
qt5_use_modules(tomahawklib Widgets Network Sql WebKitWidgets Concurrent Xml UiTools Svg)
|
qt5_use_modules(tomahawklib Widgets Network Sql WebKitWidgets Concurrent Xml UiTools Svg)
|
||||||
|
|
||||||
IF(QCA2_FOUND)
|
IF(QCA2_FOUND)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user