mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-08 20:16:27 +02: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:
1 parent
ebfa1306a7
commit
5c9bb83e37
1 file changed
+3
-1
+3
-1
@@ -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")
|
||||
|
||||
Reference in new issue
Block a user