File tree 1 file changed +6
-7
lines changed
1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -307,19 +307,18 @@ endif()
307
307
sdl_target_link_option_version_file(${sdl3_image_target_name} "${CMAKE_CURRENT_SOURCE_DIR} /src/SDL_image.sym" )
308
308
309
309
if (NOT ANDROID)
310
+ set_target_properties (${sdl3_image_target_name} PROPERTIES
311
+ SOVERSION "${SO_VERSION_MAJOR} "
312
+ VERSION "${SO_VERSION} "
313
+ )
310
314
if (APPLE )
311
315
cmake_minimum_required (VERSION 3.17)
312
316
set_target_properties (${sdl3_image_target_name} PROPERTIES
313
- SOVERSION "${SO_VERSION_MAJOR} "
314
- MACHO_COMPATIBILITY_VERSION "${DYLIB_COMPATIBILITY_VERSION} "
315
- MACHO_CURRENT_VERSION "${MACHO_CURRENT_VERSION} "
317
+ MACHO_COMPATIBILITY_VERSION "${DYLIB_COMPAT_VERSION} "
318
+ MACHO_CURRENT_VERSION "${DYLIB_CURRENT_VERSION} "
316
319
)
317
320
sdl_no_deprecated_errors(${sdl3_image_target_name} )
318
321
else ()
319
- set_target_properties (${sdl3_image_target_name} PROPERTIES
320
- SOVERSION "${SO_VERSION_MAJOR} "
321
- VERSION "${SO_VERSION} "
322
- )
323
322
endif ()
324
323
endif ()
325
324
if (SDL3IMAGE_BUILD_SHARED_LIBS)
You can’t perform that action at this time.
0 commit comments