Skip to content

Commit

Permalink
[build] remove PNG_ARM_NEON_OPT=0 from build script
Browse files Browse the repository at this point in the history
  • Loading branch information
cocoa-xu committed Mar 25, 2024
1 parent 3408b73 commit 641e3d2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -194,8 +194,6 @@ $(HEADERS_TXT): $(CONFIGURATION_PRIVATE_HPP)
-D BUILD_ZLIB=ON \
-D BUILD_opencv_gapi=OFF \
-D BUILD_opencv_apps=OFF \
-D CMAKE_C_FLAGS=-DPNG_ARM_NEON_OPT=0 \
-D CMAKE_CXX_FLAGS=-DPNG_ARM_NEON_OPT=0 \
$(CMAKE_OPTIONS) "$(OPENCV_DIR)" && \
if [ "$(MIX_TARGET)" = "ios" ]; then \
xcodebuild BITCODE_GENERATION_MODE=bitcode IPHONEOS_DEPLOYMENT_TARGET=$(IPHONEOS_DEPLOYMENT_TARGET) ARCHS=$(IPHONEOS_ARCH) -sdk iphoneos -configuration $(CMAKE_BUILD_TYPE) -parallelizeTargets -jobs $(DEFAULT_JOBS) -target ALL_BUILD build ; \
Expand Down
2 changes: 0 additions & 2 deletions Makefile.win
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,6 @@ $(HEADERS_TXT): $(CONFIGURATION_PRIVATE_HPP)
-D BUILD_ZLIB=ON \
-D BUILD_opencv_gapi=OFF \
-D BUILD_opencv_apps=OFF \
-D CMAKE_C_FLAGS="/D PNG_ARM_NEON_OPT=0" \
-D CMAKE_CXX_FLAGS="/D PNG_ARM_NEON_OPT=0" \
$(CMAKE_WIN_FINAL_OPTIONS_DEFINITIVE_EDITION_V2) "$(OPENCV_DIR)" && \
cmake --build . $(CMAKE_BUILD_PARAMETER) \
)
Expand Down

0 comments on commit 641e3d2

Please sign in to comment.