diff -rupN --no-dereference libwebp-1.4.0/CMakeLists.txt libwebp-1.4.0-new/CMakeLists.txt --- libwebp-1.4.0/CMakeLists.txt 2024-04-14 15:30:20.015729868 +0200 +++ libwebp-1.4.0-new/CMakeLists.txt 2024-04-14 15:30:20.020729901 +0200 @@ -301,6 +301,9 @@ macro(set_version FILE TARGET_NAME NAME_ MACHO_CURRENT_VERSION ${LIBWEBP_MACHO_COMPATIBILITY_VERSION}.${LT_REVISION}) endif() + if(WIN32) + set_target_properties(${TARGET_NAME} PROPERTIES SUFFIX "-${LT_CURRENT_MINUS_AGE}${CMAKE_SHARED_LIBRARY_SUFFIX}") + endif(WIN32) endmacro() # ##############################################################################