Skip to content

Instantly share code, notes, and snippets.

@matlabbe
Created November 16, 2021 22:18
Show Gist options
  • Save matlabbe/fdc3ab4854f3a68fbde7277f543b4e5b to your computer and use it in GitHub Desktop.
Save matlabbe/fdc3ab4854f3a68fbde7277f543b4e5b to your computer and use it in GitHub Desktop.
OpenCV 3.4.2 patch for ios
diff --git a/3rdparty/libpng/CMakeLists.txt b/3rdparty/libpng/CMakeLists.txt
index da290292c5..e514079f8a 100644
--- a/3rdparty/libpng/CMakeLists.txt
+++ b/3rdparty/libpng/CMakeLists.txt
@@ -2,7 +2,7 @@
# CMake file for libpng. See root CMakeLists.txt
#
# ----------------------------------------------------------------------------
-
+add_definitions(-DPNG_ARM_NEON_OPT=0)
if(ENABLE_NEON)
project(${PNG_LIBRARY} C ASM)
else()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment