cmake: swap VERSION and SOVERSION

This commit is contained in:
Anonymous Maarten 2022-11-29 20:36:46 +01:00
parent ba19d3c048
commit 6f20d990ad
1 changed files with 2 additions and 2 deletions

View File

@ -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