diff --git a/cmake/Macros.cmake b/cmake/Macros.cmake index 80b7d766a..4c3ed3428 100644 --- a/cmake/Macros.cmake +++ b/cmake/Macros.cmake @@ -42,7 +42,7 @@ macro(sfml_add_library target) # set the version and soversion of the target (for compatible systems -- mostly Linuxes) # except for Android which strips soversion suffixes 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}) endif()