mirror of
https://github.com/opencv/opencv.git
synced 2025-01-18 06:03:15 +08:00
Fix Android build with cmake 2.6.3
This commit is contained in:
parent
90a3d227c9
commit
e9392d1466
1
3rdparty/libpng/CMakeLists.txt
vendored
1
3rdparty/libpng/CMakeLists.txt
vendored
@ -30,6 +30,7 @@ if(MSVC)
|
||||
endif(MSVC)
|
||||
|
||||
add_library(${PNG_LIBRARY} STATIC ${lib_srcs} ${lib_hdrs})
|
||||
target_link_libraries(${PNG_LIBRARY} ${ZLIB_LIBRARY})
|
||||
|
||||
if(UNIX)
|
||||
if(CMAKE_COMPILER_IS_GNUCXX OR CV_ICC)
|
||||
|
@ -796,6 +796,7 @@ set( CMAKE_ASM_COMPILER_ID GNU )
|
||||
set( CMAKE_ASM_COMPILER_WORKS TRUE )
|
||||
set( CMAKE_ASM_COMPILER_FORCED TRUE )
|
||||
set( CMAKE_COMPILER_IS_GNUASM 1)
|
||||
set( CMAKE_ASM_SOURCE_FILE_EXTENSIONS s S asm )
|
||||
|
||||
# NDK flags
|
||||
if( ARMEABI OR ARMEABI_V7A )
|
||||
|
Loading…
Reference in New Issue
Block a user