Merge pull request #22102 from robertkirkman/cmake-libpng-minimum-1.6

Lower minimum libpng version requirement to 1.6 for ARM targets that are not Android or iOS
This commit is contained in:
Henrik Rydgård authored and GitHub committed 2026-08-16 23:26:09 +02:00
commit ae76fec2d5
1 file changed
+2 -2
+2 -2
View File
@@ -844,8 +844,8 @@ else()
set(LIBZIP_LIBRARY libzip)
endif()
# Arm platforms require at least libpng17.
if(ANDROID OR ARMV7 OR ARM64 OR ARM OR IOS)
# Android and iOS require at least libpng17.
if(ANDROID OR IOS)
set(PNG_REQUIRED_VERSION 1.7)
else()
set(PNG_REQUIRED_VERSION 1.6)