@ -22,7 +22,7 @@
# s q f u @ o p e n a i l a b . c o m
#
SET ( TENGINE_COMMIT_VERSION "2f3cd86217f3530c8e4a82f3ed5af14c7a4e3943 " )
SET ( TENGINE_COMMIT_VERSION "8a4c58e0e05cd850f4bb0936a330edc86dc0e28c " )
SET ( OCV_TENGINE_DIR "${OpenCV_BINARY_DIR}/3rdparty/libtengine" )
SET ( OCV_TENGINE_SOURCE_PATH "${OCV_TENGINE_DIR}/Tengine-${TENGINE_COMMIT_VERSION}" )
@ -34,7 +34,7 @@ IF(EXISTS "${OCV_TENGINE_SOURCE_PATH}")
ELSE ( )
SET ( OCV_TENGINE_FILENAME "${TENGINE_COMMIT_VERSION}.zip" ) # n a m e 2
SET ( OCV_TENGINE_URL "https://github.com/OAID/Tengine/archive/" ) # u r l 2
SET ( tengine_md5sum 9124324b6e2b350012e46ae1db4bad7d ) # m d 5 s u m 2
SET ( tengine_md5sum f51ca8f3963faeeff3f019a6f6edc206 ) # m d 5 s u m 2
# MESSAGE ( STATUS "**** TENGINE DOWNLOAD BEGIN ****" )
ocv_download ( FILENAME ${ OCV_TENGINE_FILENAME }
@ -69,7 +69,6 @@ if(BUILD_TENGINE)
elseif ( ${ ANDROID_ABI } STREQUAL "arm64-v8a" )
SET ( CONFIG_ARCH_ARM64 ON )
endif ( )
SET ( Tengine_LIB "tengine" CACHE INTERNAL "" )
else ( )
# l i n u x s y s t e m
if ( CMAKE_SYSTEM_PROCESSOR STREQUAL arm )
@ -77,7 +76,6 @@ if(BUILD_TENGINE)
elseif ( CMAKE_SYSTEM_PROCESSOR STREQUAL aarch64 ) # # A A R C H 6 4
SET ( CONFIG_ARCH_ARM64 ON )
endif ( )
SET ( Tengine_LIB "tengine" CACHE INTERNAL "" )
endif ( )
SET ( BUILT_IN_OPENCV ON ) # # s e t f o r t e n g i n e c o m p i l e d i s c e r n .
@ -86,6 +84,6 @@ if(BUILD_TENGINE)
add_subdirectory ( "${OCV_TENGINE_SOURCE_PATH}" "${OCV_TENGINE_DIR}/build" )
else ( )
message ( WARNING "TENGINE: Missing 'CMakeLists.txt' in source code package: ${OCV_TENGINE_SOURCE_PATH}" )
SET ( HAVE_TENGINE 1 )
endif ( )
SET ( Tengine_LIB "tengine" CACHE INTERNAL "" )
endif ( )