Changed the SOVERSION to major.minor.

This commit is contained in:
Lukas Dürrenberger 2015-02-28 11:55:39 +01:00
parent 95ec9180ad
commit bbfa3d5a76

View File

@ -42,7 +42,7 @@ macro(sfml_add_library target)
# set the version and soversion of the target (for compatible systems -- mostly Linuxes) # set the version and soversion of the target (for compatible systems -- mostly Linuxes)
# except for Android which strips soversion suffixes # except for Android which strips soversion suffixes
if(NOT SFML_OS_ANDROID) if(NOT SFML_OS_ANDROID)
set_target_properties(${target} PROPERTIES SOVERSION ${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}) set_target_properties(${target} PROPERTIES SOVERSION ${VERSION_MAJOR}.${VERSION_MINOR})
set_target_properties(${target} PROPERTIES VERSION ${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}) set_target_properties(${target} PROPERTIES VERSION ${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH})
endif() endif()