mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Build: Disable NEON png on non-Android too.
Just to be safe. It's likely a problem on iOS, etc. too.
This commit is contained in:
parent
ebfa1306a7
commit
5c9bb83e37
1 changed files with 3 additions and 1 deletions
|
@ -270,9 +270,11 @@ foreach (LANGUAGE C CXX)
|
|||
endforeach()
|
||||
|
||||
if(NOT MSVC)
|
||||
# NEON optimizations in libpng17 seem to cause PNG load errors, see #14485.
|
||||
add_definitions(-DPNG_ARM_NEON_OPT=0)
|
||||
|
||||
if(ANDROID)
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=gnu++11")
|
||||
add_definitions(-DPNG_ARM_NEON_OPT=0)
|
||||
endif()
|
||||
if(CLANG)
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-switch -Wno-uninitialized")
|
||||
|
|
Loading…
Add table
Reference in a new issue