CMakeLists.txt 264 B

123456
  1. set(sample example-mobilenet-objdetect)
  2. add_android_project(${sample} "${CMAKE_CURRENT_SOURCE_DIR}" LIBRARY_DEPS "${OPENCV_ANDROID_LIB_DIR}" SDK_TARGET 11 "${ANDROID_SDK_TARGET}")
  3. if(TARGET ${sample})
  4. add_dependencies(opencv_android_examples ${sample})
  5. endif()