Created
November 16, 2021 22:18
-
-
Save matlabbe/fdc3ab4854f3a68fbde7277f543b4e5b to your computer and use it in GitHub Desktop.
OpenCV 3.4.2 patch for ios
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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