diff --git a/ANNOUNCE b/ANNOUNCE index b90fc0256..4e63ed95a 100644 --- a/ANNOUNCE +++ b/ANNOUNCE @@ -1,4 +1,4 @@ -Libpng 1.6.30beta03 - April 23, 2017 +Libpng 1.6.30beta03 - May 16, 2017 This is not intended to be a public release. It will be replaced within a few weeks by a public version or by another test version. @@ -38,8 +38,9 @@ Version 1.6.30beta02 [April 22, 2017] example.c, and in the manual (suggested by Jaeseung Choi). Removed reference to the obsolete PNG_SAFE_LIMITS macro in the documentation. -Version 1.6.30beta03 [April 23, 2017] +Version 1.6.30beta03 [May 16, 2017] Check for integer overflow in contrib/visupng and contrib/tools/genpng. + Do not double evaluate CMAKE_SYSTEM_PROCESSOR in CMakeLists.txt Send comments/corrections/commendations to png-mng-implement at lists.sf.net (subscription required; visit diff --git a/CHANGES b/CHANGES index 883062c23..382161bc1 100644 --- a/CHANGES +++ b/CHANGES @@ -5833,8 +5833,9 @@ Version 1.6.30beta02 [April 22, 2017] example.c, and in the manual (suggested by Jaeseung Choi). Removed reference to the obsolete PNG_SAFE_LIMITS macro in the documentation. -Version 1.6.30beta03 [April 23, 2017] +Version 1.6.30beta03 [May 16, 2017] Check for integer overflow in contrib/visupng and contrib/tools/genpng. + Do not double evaluate CMAKE_SYSTEM_PROCESSOR in CMakeLists.txt Send comments/corrections/commendations to png-mng-implement at lists.sf.net (subscription required; visit diff --git a/CMakeLists.txt b/CMakeLists.txt index 6338163f2..191e85404 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -80,8 +80,8 @@ set(PNG_PREFIX "" CACHE STRING "Prefix to add to the API function names") set(DFA_XTRA "" CACHE FILEPATH "File containing extra configuration settings") # set definitions and sources for arm -if(${CMAKE_SYSTEM_PROCESSOR} MATCHES "^arm" OR - ${CMAKE_SYSTEM_PROCESSOR} MATCHES "^aarch64") +if(CMAKE_SYSTEM_PROCESSOR MATCHES "^arm" OR + CMAKE_SYSTEM_PROCESSOR MATCHES "^aarch64") set(PNG_ARM_NEON_POSSIBLE_VALUES check on off) set(PNG_ARM_NEON "check" CACHE STRING "Enable ARM NEON optimizations: check: (default) use internal checking code; @@ -110,8 +110,8 @@ if(${CMAKE_SYSTEM_PROCESSOR} MATCHES "^arm" OR endif() # set definitions and sources for powerpc -if(${CMAKE_SYSTEM_PROCESSOR} MATCHES "^powerpc*" OR - ${CMAKE_SYSTEM_PROCESSOR} MATCHES "^ppc64*" ) +if(CMAKE_SYSTEM_PROCESSOR MATCHES "^powerpc*" OR + CMAKE_SYSTEM_PROCESSOR MATCHES "^ppc64*" ) set(PNG_POWERPC_VSX_POSSIBLE_VALUES check on off) set(PNG_POWERPC_VSX "check" CACHE STRING "Enable POWERPC VSX optimizations: check: (default) use internal checking code;