Skip to content

Commit

Permalink
Fix build for Android arm64-v8a
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrey Kamaev committed Dec 9, 2014
1 parent 0f7721e commit 9582c33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 3rdparty/libpng/CMakeLists.txt
Expand Up @@ -14,7 +14,7 @@ ocv_include_directories("${CMAKE_CURRENT_SOURCE_DIR}" ${ZLIB_INCLUDE_DIRS})
file(GLOB lib_srcs *.c)
file(GLOB lib_hdrs *.h)

if(NEON)
if(NEON AND CMAKE_SIZEOF_VOID_P EQUAL 4)
list(APPEND lib_srcs arm/filter_neon.S)
add_definitions(-DPNG_ARM_NEON)
endif()
Expand Down

0 comments on commit 9582c33

Please sign in to comment.