Skip to content

Commit

Permalink
[build] remove PNG_ARM_NEON_OPT=0 from build script (#235)
Browse files Browse the repository at this point in the history
  • Loading branch information
cocoa-xu authored Mar 25, 2024
1 parent 5c6e351 commit 35cb935
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 @@ -199,8 +199,6 @@ $(HEADERS_TXT): $(CONFIGURATION_PRIVATE_HPP)
-D BUILD_opencv_gapi=OFF \
-D BUILD_opencv_apps=OFF \
-D BUILD_opencv_java=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 35cb935

Please sign in to comment.