1 set(sample example-tutorial-2-mixedprocessing) 2 3 if(BUILD_FAT_JAVA_LIB) 4 set(native_deps opencv_java) 5 else() 6 set(native_deps opencv_features2d) 7 endif() 8 9 add_android_project(${sample} "${CMAKE_CURRENT_SOURCE_DIR}" LIBRARY_DEPS ${OpenCV_BINARY_DIR} SDK_TARGET 11 ${ANDROID_SDK_TARGET} NATIVE_DEPS ${native_deps}) 10 if(TARGET ${sample}) 11 add_dependencies(opencv_android_examples ${sample}) 12 endif() 13