diff --git a/CMakeLists.txt b/CMakeLists.txt index b33713384..4083a00c8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3196,8 +3196,8 @@ if(SDL_SHARED) SOVERSION "0") elseif(UNIX AND NOT ANDROID) set_target_properties(SDL3 PROPERTIES - VERSION "${SDL_SO_VERSION_MAJOR}" - SOVERSION "${SDL_SO_VERSION}") + VERSION "${SDL_SO_VERSION}" + SOVERSION "${SDL_SO_VERSION_MAJOR}") else() if(WINDOWS OR CYGWIN) set_target_properties(SDL3 PROPERTIES