CMakeLists.txt 405 B

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