mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
Added prefix to cmake VSX check warning
This commit is contained in:
parent
483bcad21d
commit
6f6c396604
@ -44,7 +44,7 @@ include(GNUInstallDirs)
|
|||||||
|
|
||||||
# needed packages
|
# needed packages
|
||||||
|
|
||||||
#Allow users to specify location of Zlib,
|
#Allow users to specify location of Zlib,
|
||||||
# Useful if zlib is being built alongside this as a sub-project
|
# Useful if zlib is being built alongside this as a sub-project
|
||||||
option(PNG_BUILD_ZLIB "Custom zlib Location, else find_package is used" OFF)
|
option(PNG_BUILD_ZLIB "Custom zlib Location, else find_package is used" OFF)
|
||||||
|
|
||||||
@ -98,7 +98,7 @@ if(${CMAKE_SYSTEM_PROCESSOR} MATCHES "^arm" OR
|
|||||||
arm/arm_init.c
|
arm/arm_init.c
|
||||||
arm/filter_neon.S
|
arm/filter_neon.S
|
||||||
arm/filter_neon_intrinsics.c)
|
arm/filter_neon_intrinsics.c)
|
||||||
|
|
||||||
if(${PNG_ARM_NEON} STREQUAL "on")
|
if(${PNG_ARM_NEON} STREQUAL "on")
|
||||||
add_definitions(-DPNG_ARM_NEON_OPT=2)
|
add_definitions(-DPNG_ARM_NEON_OPT=2)
|
||||||
elseif(${PNG_ARM_NEON} STREQUAL "check")
|
elseif(${PNG_ARM_NEON} STREQUAL "check")
|
||||||
@ -127,13 +127,13 @@ if(${CMAKE_SYSTEM_PROCESSOR} MATCHES "^powerpc*" OR
|
|||||||
set(libpng_powerpc_sources
|
set(libpng_powerpc_sources
|
||||||
powerpc/powerpc_init.c
|
powerpc/powerpc_init.c
|
||||||
powerpc/filter_vsx_intrinsics.c)
|
powerpc/filter_vsx_intrinsics.c)
|
||||||
|
|
||||||
if(${PNG_POWERPC_VSX} STREQUAL "on")
|
if(${PNG_POWERPC_VSX} STREQUAL "on")
|
||||||
add_definitions(-DPNG_POWERPC_VSX_OPT=2)
|
add_definitions(-DPNG_POWERPC_VSX_OPT=2)
|
||||||
elseif(${PNG_POWERPC_VSX} STREQUAL "check")
|
elseif(${PNG_POWERPC_VSX} STREQUAL "check")
|
||||||
add_definitions(-DPNG_POWERPC_VSX_CHECK_SUPPORTED)
|
add_definitions(-DPNG_POWERPC_VSX_CHECK_SUPPORTED)
|
||||||
message(WARNING
|
message(WARNING
|
||||||
" Please check contrib/powerpc/README file for the list of supported OSes.")
|
"[PNG_POWERPC_VSX==check] Please check contrib/powerpc/README file for the list of supported OSes.")
|
||||||
endif()
|
endif()
|
||||||
else()
|
else()
|
||||||
add_definitions(-DPNG_POWERPC_VSX_OPT=0)
|
add_definitions(-DPNG_POWERPC_VSX_OPT=0)
|
||||||
@ -875,4 +875,3 @@ endif()
|
|||||||
# to create msvc import lib for mingw compiled shared lib
|
# to create msvc import lib for mingw compiled shared lib
|
||||||
# pexports libpng.dll > libpng.def
|
# pexports libpng.dll > libpng.def
|
||||||
# lib /def:libpng.def /machine:x86
|
# lib /def:libpng.def /machine:x86
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user