android: allow to build & run examples without Android OpenCV Manager
This commit is contained in:
8
cmake/copyAndroidLibs.cmake
Normal file
8
cmake/copyAndroidLibs.cmake
Normal file
@@ -0,0 +1,8 @@
|
||||
# helper file for Android samples build
|
||||
|
||||
file(GLOB_RECURSE LIBS RELATIVE ${SRC_DIR} "*.so")
|
||||
|
||||
foreach(l ${LIBS})
|
||||
message(STATUS " Copying: ${l} ...")
|
||||
execute_process(COMMAND ${CMAKE_COMMAND} -E copy_if_different ${SRC_DIR}/${l} ${DST_DIR}/${l})
|
||||
endforeach()
|
Reference in New Issue
Block a user